#define PTR_TO_INT ( ptr   )     ((int) (ptr))

Allows to convert a pointer reference (axlPointer), which stores an integer that was stored using INT_TO_PTR.

Use the oposite function to restore the pointer value stored in the integer value.

Parameters:
ptr The pointer to cast to a integer value.
Returns:
A int value.