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 useful problem. The C code: typedef struct { uint32_t seconds; uint32_t nanoseconds;
Solution 1:
I switched to 64 bit python/64 bit dlls and the problem went away. When I'm feeling a little more inspired I might try to isolate it down to the compiler, the os or python but for now I'm going to run with it.
Post a Comment for "Python Ctypes Passing In Pointer And Getting Struct Back"