add support for variable names to id introspection in library interface

This commit is contained in:
Axel Kohlmeyer
2020-10-04 06:01:26 -04:00
parent b1cc9949e4
commit 9dfb715296
2 changed files with 18 additions and 3 deletions

View File

@ -49,11 +49,13 @@ class Variable : protected Pointers {
tagint int_between_brackets(char *&, int);
double evaluate_boolean(char *);
public:
int nvar; // # of defined variables
char **names; // name of each variable
private:
int me;
int nvar; // # of defined variables
int maxvar; // max # of variables following lists can hold
char **names; // name of each variable
int *style; // style of each variable
int *num; // # of values for each variable
int *which; // next available value for each variable