July 31, 2011
2:08 p.m.
From my research it seems not very trivial to wrap std::vector that holds pointer types. For example:
std::vector<GameObject*> I've looked at boost python vector_index_suite but it just gives me the runtime error:
TypeError: No to_python (by-value) converter found for C++ type: GameObject*
I have already exposed GameObject: class_<GameObject>(" GameObject") ... So it have come to my understanding it's not possible with an out of the box solution. I have to do some kind of wrapper? Could someone just help me out where I should start? Thank you!