sgs_ArgErrorExt [function]
int sgs_ArgErrorExt( sgs_Context* C, int argid, int method, const char* expect, const char* expfx )
Prints the argument type mismatch error.
expfx
- prefix ofexpect
, put exactly before this for things like 'strict '.- Always returns 0 so it can be used to return and print an error in the same statement.