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

take back too eager change

parent 2438f38a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3840,7 +3840,7 @@ Please see :cpp:func:`lammps_has_style` for a list of valid categories.
 * \return 1 if successful, otherwise 0
 */
int lammps_style_name(void *handle, const char *category, int idx,
                      const char *buffer, int buf_size) {
                      char *buffer, int buf_size) {
  LAMMPS *lmp = (LAMMPS *) handle;
  Info info(lmp);
  auto styles = info.get_available_styles(category);
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ int lammps_config_has_exceptions();

int lammps_has_style(void *, const char *, const char *);
int lammps_style_count(void *, const char *);
int lammps_style_name(void *, const char *, int, const char *, int);
int lammps_style_name(void *, const char *, int, char *, int);

/* ----------------------------------------------------------------------
 * Library functions for accessing neighbor lists