Next: Recognizer life cycle mutators, Previous: Creating a new recognizer, Up: Recognizer methods [Contents][Index]
Increases the reference count by 1. This method is not needed by most applications.
Return value:
On success, the recognizer object, r, which is never NULL
.
On hard failure, NULL
.
Decreases the reference count by 1, destroying r once the reference count reaches zero. When r is destroyed, the reference count of its base grammar is decreased by one. If this takes the reference count of the base grammar to zero, the base grammar is also destroyed.