wrapping c++ classes

Joined
Sep 20, 2010
Messages
5
Reaction score
0
What I'm trying to do is to make my embedded interpreter access c++ classes.
Wrapping c++ functions looks easy enough, but what about classes how would I go about wrapping a class to be able to access its functions from embedded python interpreter :stupido2:

Like this:
Code:
Import EntityManager
Entity1=EntityManager.CreateEntity('myEntity',1,12)
Entity.ApplyForce(0,20,0)

I wan't this to do In Python C/API no Boost.python/SWIG etc..
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,882
Messages
2,569,949
Members
46,272
Latest member
AntonKrv77

Latest Threads

Top