Name
PnObject -- the base class for all Paranormal classes
Description
PnObject is the base class for all classes in Paranormal. It provides
some basic referencing functionality, as well as the "destroy" signal.
Details
pn_object_ref ()
Increments the reference count on an object
pn_object_unref ()
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.
pn_object_sink ()
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.
pn_object_destroy ()
void pn_object_destroy (PnObject *object); |
Signals
The "destroy" signal
void user_function (PnObject *pnobject,
gpointer user_data); |