hi,<br><br>i have used ctypes so far but would like to try pyrex/cython for better performance...<br><br>i have a c library with a function which returns a pointer to a struct. this struct should be exposed to python. it should be possible to modify the variables of this struct from python and the c library should see those changes.<br>
<br>in ctypes this somehow works automagically but in pyrex/cython i can&#39;t get this to work. is there a way to achieve this? can anyone point me into the right direction?<br>