|
|
||
|
Hi.
hi.
I don't know how to use tolua to instantiate structs (not objects) in my lua scripts.[...]
How do you create a variable of the above type and initialize it? I tried with the type:new() sintax, but it seems that's only for classes.
CCLIB_START_STRUCT* get_new_CCLIB_START_STRUCT(char* lib_name="");
Greetings Ignacio Burgueño
Hope that helps..
Ariel.