Skip to content Skip to sidebar Skip to footer
Showing posts with the label Python C Extension

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

How To Package A Python C Extension Such That It Is A Submodule Of A Normal Python Module?

I wrote a python library with two parts: A Python C extension A Python wrapper for the Python C ex… Read more How To Package A Python C Extension Such That It Is A Submodule Of A Normal Python Module?

Obtaining Address Of Custom Data-type In C From Python Using Ctypes

I have a vector struct in C with the following fields, struct vector { unsigned char* data; … Read more Obtaining Address Of Custom Data-type In C From Python Using Ctypes