🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Python, C++, Swig and classes ......

Started by
-1 comments, last by fitz_sean 20 years, 12 months ago
Hi, Im fairly new to Python and am really stuck at the mo. Is it possible to pass an instance of a class that i have created in C++ into a python script, get python to chnage some variables (i.e as in setting up a players attributes), and return teh instance of teh class to c++. I seem to be goin around in circles and am lost. I am using Python 2.2.3 adn SWIG to create teh wrapper class. Any help / tutorials would be greeatly appreciated. Thanks SeanF

This topic is closed to new replies.

Advertisement