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:
I wan't this to do In Python C/API no Boost.python/SWIG etc..
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: