Signature
native SMC_SetRawLine(SMCParser:handle, const func[]);
Description
Sets a raw line reader on an text parser handle.
Notes
-
Below is the prototype of callbacks:
-
Called whenever a raw line is read.
.@param handle Handle to an SMC Parse structure.
.@param line A string containing the raw line from the file.
.@param lineno The line number it occurs on.
.@param data Handle or value passed in SMC_ParseFile
.@return An SMCResult action to take.
public SMCResult:SMC_RawLine(SMCParser:handle, const line[], lineno, any:data)
-
Parameters
- handle — Handle to an SMC Parse structure.
- func — A RawLine callback.
No return value