I wrote a small tool in C++ to convert from lammps restart file to
AtomEye extended cfg file. It's using liblmp to read restart file. To
make the program simpler, I've changed signature of Input::one()
method, to use "const char*" instead of "char*", i.e. to:
char *one(const char *); // process a single command
Would you mind to make such a change in official version of lammps?
And maybe also the same about Input::file(char *) ?
It's simpler because if I have string command, I can do
avoiding strdup(), free(), etc.