KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am attempting to create python bindings for some C++ code using swig. I seem have run into a problem trying to create python properties from some accessor functions I have for methods like the following: class Player { public: void entity(Entity* entity); Entity* entity() const; }; I tried creating a property using the python property function but it seems that the wrapper classes swig generates are not compatible with it at least for setters. How do you create properties using swig?
Tags (comma-separated)
Save Edits
Cancel