![]() |
![]() |
Functions | |
static gxi32 | gx_refimage (gxHANDLE handle, gxIMAGE *pimage) |
Increases the image reference counter. | |
static gxi32 | gx_unrefimage (gxHANDLE handle, gxIMAGE *pimage) |
Decreases the image reference counter. | |
static int | gx_refhandle (gxHANDLE handle) |
Increases the reference counter of a GX handle. | |
static int | gx_unrefhandle (gxHANDLE *handle) |
Decreases the reference counter of a GX handle. | |
static int | gx_reftrafo (gxHANDLE handle, gxTRAFO *ptrafo) |
Increases the reference number of the specified transformation structure. | |
static int | gx_unreftrafo (gxHANDLE handle, gxTRAFO *ptrafo) |
Decreases the reference number of the specified transformation structure. |
Increases the image reference counter.
The counter indicates the number of processes using the image. The counter can rise to positive or negative direction as well depending on whether the image is static or dynamic.
handle | Handle of the module. | |
pimage | Pointer to the image structure. |
References gx_call().
Decreases the image reference counter.
The counter indicates the number of processes using the image. If the counter value becomes zero after the function call the structure will be freed depending on whether the image was allocated statically or dynamically.
handle | Handle of the module. | |
pimage | Pointer to the image structure. |
References gx_call().
static int gx_refhandle | ( | gxHANDLE | handle | ) | [static] |
Increases the reference counter of a GX handle.
handle | Handle of the module. |
References gx_call().
static int gx_unrefhandle | ( | gxHANDLE * | handle | ) | [static] |
Decreases the reference counter of a GX handle.
handle | Handle of the module. |
References gx_call().
Increases the reference number of the specified transformation structure.
The reference number indicates how many processes are currently using the specified structure.
handle | Handle of the module. | |
ptrafo | Pointer to an initialized structure. |
References gx_call().
Decreases the reference number of the specified transformation structure.
As it reaches value zero the structure will be freed.
handle | Handle of the module. | |
ptrafo | Pointer to an initialized structure. |
References gx_call().