scpt_push_object_and_allocate — Allocate room to hold a boxed C structure of a particular type
void * **scpt_push_object_and_allocate** ( | thr, | |
| | objtype, | |
| | objsize
); | |
Allocate room to hold a boxed C structure of a particular type.
This is intended to be used by the generated glue code only.
The script thread. For a description of this data type see “scpt_thread”.
The object type.
The object size.
This function returnsa pointer to the object.
It is legal to call this function in any thread.