Signature
native SMC_SetParseStart(SMCParser:handle, const func[]);
Description
Sets the SMC_ParseStart function of a parse handle.
Notes
-
Below is the prototype of callback:
-
Called when parsing is started.
.@param handle Handle to an SMC Parse structure.
.@param data Handle or value passed in SMC_ParseFile
.@noreturn
public OnParseStart(SMCParser:handle, any:data)
-
Parameters
- handle — Handle to an SMC Parse structure.
- func — A ParseStart callback.
No return value
Errors
- Invalid or corrupt handle.