sgs_Reg***Consts [function]
void sgs_RegFuncConsts( sgs_Context* C, const sgs_RegFuncConst* list, int size )
void sgs_RegIntConsts( sgs_Context* C, const sgs_RegIntConst* list, int size )
void sgs_RegRealConsts( sgs_Context* C, const sgs_RegRealConst* list, int size )
Loads the specified list of constants in the context.
- 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.