ObjCPointer objects

When a Objective-C method returns a pointer to something, this value gets encoded in a ObjCPointer instance, that you can feed as argument of another method expecting an equivalent type.

This kind of objects make it easier to access their content: as a variant of the .unpack_argument() described above, they provide the following method.


\begin{funcdesc}{unpack}{}
This method takes the content of the pointed value an...
...dingly to its type, then returns the Python representation of it.
\end{funcdesc}

Each ObjCPointer carries these data members:


\begin{datadesc}{type}
A string object containing the type of the pointed value.
\end{datadesc}


\begin{datadesc}{pointerAsInteger}
An integer representation of the pointer itself.
\end{datadesc}


\begin{datadesc}{__members__}
The list of data members of this object.
\end{datadesc}