SMC_SetParseStart

Syntax

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

Usage

handle
Handle to an SMC Parse structure.
func
A ParseStart callback.

Description

Sets the SMC_ParseStart function of a parse handle.

Note

Below is the prototype of callback:
-
  Called when parsing is started.

  @param handle        Handle to an SMC Parse structure.

  @noreturn

  public OnParseStart(SMCParser:handle)
-

Return

This function has no return value.

Error

Invalid or corrupt handle.