Well I took a library called libdlo and produced a wrapper. Here is the code I
ran...
>>> info = dlo_mode_t()
>>> info
<dlo.struct_dlo_mode_s object at 0xb6c4df80>
>>> info = dlo_get_mode(uid)
>>> info
<dlo.LP_struct_dlo_mode_s object at 0xb692d030>
Now the C code is...
dlo_mode_t *mode_info;
info = dlo_get_mode(uid);
I am on Debian 7.0 Wheezy armhf Raspberry Pi, but this doesn't really have to
do with my issue.
So it seems that the structures produced by ctypes is not compatible with those
made by the wrapper!
I tried doing something like
`LP_struct_dlo_mode_s = struct_dlo_mode_s`
Yet it didn't work, It's really hard to jerry-rig this stuff hahaha
Original issue reported on code.google.com by cool.tes...@gmail.com on 30 Jun 2014 at 8:51
Original issue reported on code.google.com by
cool.tes...@gmail.com
on 30 Jun 2014 at 8:51