Script object.
#include <ayam.h>
Data Fields | |
char * | script |
the script text (Tcl) | |
int | active |
activate/run the script? (0 - Inactive, 1 - Active) | |
int | type |
type of script (0 - Run, 1 - Create, 2 - Modify) | |
ay_object * | cm_objects |
created or modified objects | |
int | modified |
need to recompile the script? | |
Tcl_Obj * | cscript |
cached compiled script | |
int | paramslen |
number of saved script parameters | |
Tcl_Obj ** | params |
saved script parameters | |
double * | pnts |
read only points [pntslen*4] (created on request) | |
unsigned int | pntslen |
number of read only points | |
int | pntsrat |
are the read only points rational? (0 - no, 1 - yes) | |
ay_sevalcb * | cb |
script evaluation callback (for JavaScript, Lua . |