manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.6 mglVar class

Structure describes variable of type mglData and its name in MGL script. This structure is used by mglParse and is defined in #include <mgl/mgl_parse.h>.

Parameter of mglVar: mglData d

Data itself

Parameter of mglVar: wchar_t s[256]

Data name

Parameter of mglVar: void * o

Pointer to external object for function func.

Parameter of mglVar: mglVar * next

Pointer to next instance in list

Parameter of mglVar: mglVar * prev

Pointer to prev instance in list

Parameter of mglVar: bool temp

Flag for temporar variable. Temporal variables will be destroyed after script execution.

Parameter of mglVar: void (* func )(void *)

Callback function for destroying non-temporal variable.

Method on mglVar: void MoveAfter (mglVar *var)

Move variable after var and copy func from var (if func is not 0)


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.