From: Jonathan K. <jk...@mo...> - 2008-05-16 12:07:36
|
Hallo, I'm using libplayerc's Python bindings, but they are pretty broken in SVN at the moment. I thought about fixing some parts by hand but that seemed somewhat tedious. So instead I tried to solve a more interesting problem: I created a hand-written binding generator. You can get it via my git repository: git-clone http://www9.in.tum.de/~kleinehe/pypc-gen.git It generates a single Python module that can be used to make calls to libplayerc.so using Python's [*]ctypes. So the resulting Python bindings do not contain any C code. The bindings are supposed to behave somewhat like the SWIG generated ones currently shipped with Player. Maybe they can be helpful to people who have problems with the SWIG bindings. I'm interested in feedback, so if you try them and they work (or, more likely due to my lack of testing, do not work), please report your findings. I would like to find out if there's interest and will try to address problems that might come up. -- Jonathan Kleinehellefort [*] http://python.net/crew/theller/ctypes/ |