From: Sebastian R. <seb...@go...> - 2010-12-26 13:09:47
|
Am 24.12.2010 um 12:16 schrieb Sebastian Rockel: > Am 22.12.2010 um 15:30 schrieb Rich Mattes: > >> Thanks for passing these on. One thing though: playerc_wrap.h can't be >> patched like this since it's generated by a python file at build time. > > I guessed that, but as I didn't know how to approach it I hoped someone will know better ;) > >> To >> change what happens there, you'd have to look at playerc_swig_parse.py in >> the playerc python bindings folder. > > Thanks for pointing in the right direction. I'll look into this. I made it compile and attached the patch. What I did is include 'stdint.h' before using 'uint8_t' because its not defined until then (on my system). I hope (this workaround) is okay. Furthermore, as I think about the 'text injection' (at the beginning of source file) done in playerc_swig_parse.py, it might be prone to such (and other?) errors.. > Sebastian > >> I'll go ahead and make the other two >> corrections. >> >> Rich |