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

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 Do I Wrap This C Function, With Multiple Arguments, With Ctypes?

I have the function prototype here: extern 'C' void __stdcall__declspec(dllexport) ReturnPu… Read more How Do I Wrap This C Function, With Multiple Arguments, With Ctypes?

Pointers In Python? ` X.pointerdest = Y.pointerdest`?

I am breaking my old question to parts because it is very messy beast here. This question is relate… Read more Pointers In Python? ` X.pointerdest = Y.pointerdest`?

Std::bad_alloc After Replacing Boost:python Function Wrapper With Python/c Api

I had a function in C which I used to extend python, previously using the BOOST_MODULE function to … Read more Std::bad_alloc After Replacing Boost:python Function Wrapper With Python/c Api