native

SMC_SetRawLine

Syntax

native SMC_SetRawLine(SMCParser:handle, const func[]);

Description

Sets a raw line reader on an text parser handle.

Parameters

handle Handle to an SMC Parse structure.
line A string containing the raw line from the file.
lineno The line number it occurs on.
data Handle or value passed in SMC_ParseFile
handle Handle to an SMC Parse structure.
func A RawLine callback.

Note

Below is the prototype of callbacks:
-
Called whenever a raw line is read.

Return

An SMCResult action to take.
public SMCResult:SMC_RawLine(SMCParser:handle, const line[], lineno, any:data)
-

Return

This function has no return value.