Arbitrary reference-counted pointer. More...
#include <xornstorage.h>
Public Attributes | |
| void * | ptr |
| The actual pointer. More... | |
| void(* | incref )(void *ptr) |
| A function which is called when the pointer is copied. More... | |
| void(* | decref )(void *ptr) |
| A function which is called when a copy of the pointer is deleted. More... | |
Arbitrary reference-counted pointer.
xorn_add_object and xorn_set_object_data do not “steal” a reference to the pointer.
Definition at line 154 of file xornstorage.h.
| xorn_pointer::decref |
A function which is called when a copy of the pointer is deleted.
May be NULL.
Definition at line 157 of file xornstorage.h.
| xorn_pointer::incref |
A function which is called when the pointer is copied.
May be NULL.
Definition at line 156 of file xornstorage.h.
| xorn_pointer::ptr |
The actual pointer.
Definition at line 155 of file xornstorage.h.
1.8.8