sgs_Make*** [functions]
sgs_Variable sgs_MakeNull()
sgs_Variable sgs_MakeBool( sgs_Bool value )
sgs_Variable sgs_MakeInt( sgs_Int value )
sgs_Variable sgs_MakeReal( sgs_Real value )
sgs_Variable sgs_MakeCFunc( sgs_CFunc func )
sgs_Variable sgs_MakePtr( void* ptr )
Returns a variable instance of the specified type.
- Since these are basic types, they don't need to be freed.
- sgs_Bool is transformed to 0/1, everything else is unchanged.