
8 Feb
2013
8 Feb
'13
1:15 p.m.
On 8.2.2013. 3:19, Eric Niebler wrote:
In C++, I have a boost::python::object that is wrapping ... something. I'd like to find out what. If I were in python land, I'd call the built-in 'type' function on it. What do I do in C++?
You can use PyObject_Type() from Python API http://docs.python.org/3/c-api/object.html?highlight=pyobject_type#PyObject_...