sgs_***ArgError [function aliases]
int sgs_FuncArgError( sgs_Context* C, int argid, int expect, int is_strict )
int sgs_MethodArgError( sgs_Context* C, int argid, int expect, int is_strict )
Prints the argument type mismatch error.
- Always returns 0 so it can be used to return and print an error in the same statement.
- Alias to
sgs_ArgError( C, argid, Func/Method => 0/1, expect, is_strict )
.