Getting Values from the brEval Class
To access native C types stored in the brEval class, you'll need to use the following macros, which are defined in the header file distributed with the API.
-
BRINT(&, returns the int (C type int) contained ineval)eval -
BRDOUBLE(&, returns the float (C type double) contained ineval)eval -
BRVECTOR(&, returns the vector (C type slVector struct) contained ineval)eval -
BRMATRIX(&, returns the matrix (C type double [3][3]) contained ineval)eval -
BRBRRING(&, returns the string (C type char*) contained ineval)eval -
BROBJECT(&, returns the object (C type brInstance*) contained ineval)eval -
BRPOINTER(&, returns the pointer (C type void*) contained ineval)eval -
BRDATA(&, returns the data (C type brData*) contained ineval)eval -
BRHASH(&, returns the hash (C type brEvalHash*) contained ineval)eval -
BRLIST(&, returns the list (C type brEvalList*) contained ineval)eval
