native
SMC_SetParseEnd
Syntax
native SMC_SetParseEnd(SMCParser:handle, const func[]);
Description
Sets the SMC_ParseEnd function of a parse handle.
Parameters
| handle | Handle to an SMC Parse structure. |
|---|---|
| halted | True if abnormally halted, false otherwise. |
| failed | True if parsing failed, false otherwise. |
| data | Handle or value passed in SMC_ParseFile |
| handle | Handle to an SMC Parse structure. |
| func | A ParseEnd callback. |
Note
Below is the prototype of callback:
-
Called when parsing is halted.
Return
This function has no return value.
Return
This function has no return value.
Error
Invalid or corrupt handle.