sgs_Store***Consts [functions]
void sgs_StoreFuncConsts( sgs_Context* C, sgs_Variable var, const sgs_RegFuncConst* list, int size )
void sgs_StoreIntConsts( sgs_Context* C, sgs_Variable var, const sgs_RegIntConst* list, int size )
void sgs_StoreRealConsts( sgs_Context* C, sgs_Variable var, const sgs_RegRealConst* list, int size )
Loads the specified list of constants in the specified variable.
- The end of list can be specified in two ways:
- set the size to
sizeof(list)/sizeof(list[0])
;
- set the size to -1 and end the list with
SGS_RC_END()
;
- using both at the same time should be reserved to special cases only.