SMC_SetRawLine
native SMC_SetRawLine(SMCParser:handle, const func[]);
| Parameter |
Description |
| handle | Handle to an SMC Parse structure. |
| func | A RawLine callback. |
Sets a raw line reader on an text parser handle.
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)
-
This function has no return value.