Next: , Previous: , Up: Ordering methods   [Contents][Index]


22.4 Reference counting

Mutator function: Marpa_Order marpa_o_ref ( Marpa_Order o)

On success, increases the reference count by 1. Not needed by most applications.

Return value: On success, o. On hard failure, NULL.

Destructor function: void marpa_o_unref ( Marpa_Order o)

Decreases the reference count by 1, destroying o once the reference count reaches zero.