PnObject -- the base class for all Paranormal classes
PnObject is the base class for all classes in Paranormal. It provides
some basic referencing functionality, as well as the "destroy" signal.
Increments the reference count on an object
|object :|| a PnObject|
|Returns :|| A pointer to the object|
void pn_object_unref (PnObject *object);
Decrements the reference count on an object. If the object's reference
count becomes 0, the object is freed from memory.
Removes floating reference on an object. Any newly created object has
a refcount of 1 and is FLOATING. This function should be used when
creating a new object to symbolically 'take ownership of' the object.
void pn_object_destroy (PnObject *object);
The "destroy" signal
void user_function (PnObject *pnobject,
|pnobject :||the object which received the signal.
|user_data :||user data set when the signal handler was connected.|