Browse
 
Tools
Rss Categories

LVGrammar::RegisterLoggingCallback

Reference Number: AA-00865 Views: 6316 0 Rating/ Voters

Registers a callback so the object can report warnings and errors to the grammar author via the callback function.

Function

  • void RegisterLoggingCallback (GrammarLogCB log, void* userData)

Parameters

log

The logging callback function pointer.

userdata

The pointer to user defined data associated with the grammar object pointed by Grammar. It will be passed into the callback function.

Remarks

The call back function need to have signature defined by GrammarLogCB.

See Also