Next: , Previous: , Up: Main entry points   [Contents][Index]


2.1.5 evaluator_get_variables

Synopsis

#include <matheval.h>

void evaluator_get_variables (void *evaluator, char ***names, int *count);

Description

Return array of strings with names of variables appearing in function represented by evaluator. Address of array first element is stored by function in location pointed by second argument and number of array elements is stored in location pointed by third argument. Array with function variable names is stored in evaluator object and caller must not free any of strings returned by this function nor array itself. Returned values are valid until evaluator object destroyed.

Return value

None.

See also

evaluator_create, evaluator_destroy, evaluator_get_string