danomatika / swig-openframeworks

a SWIG interface for openFrameworks with included Makefile, submodule this in your language wrapper addons
Other
39 stars 11 forks source link

Python compatibility #1

Closed chaosct closed 9 years ago

chaosct commented 9 years ago

I had to modify both the interface file and the Makefile in order to generate valid Python bindings and C++ code:

I also added a way to change the style of the bindings:

If you are OK with these changes I can modify the documentation accordingly.

danomatika commented 9 years ago

Yeah this looks good. Glad to see it didn't take much to work for Python. I might make a few small (anal) changes but overall it looks good.

danomatika commented 9 years ago

I'll wait on this until you give me the go signal.

chaosct commented 9 years ago

Yes thanks! I probably won't have time for that until next week.

chaosct commented 9 years ago

I think that's it.

danomatika commented 9 years ago

I made a few small changes, the main one was RENAME -> OF_SWIG_RENAME to be a bit more explicit.