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

How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

I need to make a C extension with distutils (and/or setuptools) that can be used BOTH dynamically a… Read more How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

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

Python Extension Module With Variable Number Of Arguments

I am trying to figure out how in C extension modules to have a variable (and maybe) quite large num… Read more Python Extension Module With Variable Number Of Arguments