This topic is now archived and is closed to further replies.

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

This topic is 5275 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites