Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pointers

Swig Function With Pointer Struct

Im new using SWIG to wrapped C shared library. I have problem to call a C function with Struct poin… Read more Swig Function With Pointer Struct

Return List Of New Custom-class Objects In Python C Api

I need to create a new list via the python C API containing new copies of objects of a Quaternion c… Read more Return List Of New Custom-class Objects In Python C Api

Python Ctypes Passing In Pointer And Getting Struct Back

This is a simple example of something I'm trying to get working before tackling an actual usefu… Read more Python Ctypes Passing In Pointer And Getting Struct Back

Using Numpy.array In Cython

I want to rewrite a class in cython format and save it as demo.pyx. The input parameter for the cla… Read more Using Numpy.array In Cython

Cython Implementation No Faster Than Pure Python

For an exercise I've written a XOR doubly-linked list %%cython from cpython.object cimport PyO… Read more Cython Implementation No Faster Than Pure Python