type_init
Initiate the object as located by the pointer. Gentee initializes objects automaticaly. Use this function only if you allocated the memory for the variable.
func uint type_init (
pubyte ptr,
uint idtype
)
pubyte ptr,
uint idtype
)
Parameters
ptr | The pointer to the memory space where the object being created is located. |
idtype | The type of the object. |
Return value
The pointer to the object is returned.
Related links | Source |