Jump to content
  • Advertisement


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


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

This topic is 5488 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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!