m17n_object_unref3m17n
Usage
int m17n_object_unref (void * object)
Overview
Decrement the reference count of a managed object. The m17n_object_unref() function decrements the reference count of the managed object pointed to by object. When the reference count becomes zero, the object is freed by its freer function.
Return value
This function returns the resulting reference count if it fits in a 16-bit unsigned integer (i.e. less than 0x10000). Otherwise, it returns -1. Thus, the return value zero means that object is freed.
Errors
This function never fails.
Releases
8 releases since Debian 3.1 (Sarge); the text changed 2 times.