native

INI_SetRawLine

Syntax

native INI_SetRawLine(INIParser:handle, const func[]);

Description

Sets a raw line reader on an INI parser handle.

Parameters

handle The INI Parse handle.
line Contents of line.
lineno The line number it occurs on.
curtok Pointer to optionally store failed position in string.
data Handle or value passed in INI_ParseFile
handle Handle to an INI Parse structure.
func A RawLine callback.

Note

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

Return

True to keep parsing, false otherwise.
public bool:OnRawLine(INIParser:smc, const line[], lineno, curtok, any:data)

Return

This function has no return value.