libraries with distutils
ource/'], library_dirs=['../../Dist/'], libraries = ['FreeImage'], sources = ['freeimagemodule.c']) setup (name = 'freeimage', version = '1.0', author = 'Glenn Pierce',
Wrapping c functions
Hi I have been trying to wrap a c library called FreeImage for python and am having trouble with a couple of functions. One function is FreeImage_Load which takes parameters (enum, const char*, int) I have wrapped the function with the following code static PyObject * freeimage_load(PyObject *sel