5.4.2 Pointers and References

Given a pointer to a C/C++ type, Cython does not support the use of '*' to dereference this pointer. Here's a way around that:

    cdef Foo *t
    t = <something>
    function_that_takes_a_reference(t[0])
In C, t[0] is the first element of the array pointed to by t. Remember that C arrays are simply pointers. Note that this trick is rarely necessary in C since most C code operates by passing around pointers to structures. They are not ordinarily dereferenced.

See About this document... for information on suggesting changes.