Unverified Commit ac040dc8 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

update prototype to allow constant strings

parent f4601235
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3724,7 +3724,7 @@ specific :doc:`LAMMPS package <Packages>` provided as argument.
 * \param name string with the name of the package
 * \return 1 if included, 0 if not.
 */
int lammps_config_has_package(char * name) {
int lammps_config_has_package(const char *name) {
  return Info::has_package(name) ? 1 : 0;
}

+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ void lammps_scatter_atoms_subset(void *, char *, int, int, int, int *, void *);
 * ---------------------------------------------------------------------- */

int lammps_config_has_mpi_support();
int lammps_config_has_package(char *);
int lammps_config_has_package(const char *);
int lammps_config_package_count();
int lammps_config_package_name(int, char *, int);
int lammps_config_has_gzip_support();