Hey,
I have a dict of the main namespace in boost::python. Now I want to delete
an object from the dict to unload/delete that object
dict namespace = .. extract dict from __main__ module ...;
namespace["test"] = object(555);
namespace.remove("test"); // <- how can I do something like this with b
Hi!
I am trying to expose some c++ classes with boost.python.
Unfortunately, i have some trouble with the inheritance of classes which
need a wrapper.
It is something like that:
class Base {
public:
void someFunction() { doSomething; }
};
class BaseWrapper : public Base, boost::python::wr
> namespace.remove("test"); // <- how can I do something like this with boost
>python?
namespace["test"].del();
See also:
http://www.boost.org/doc/libs/1_44_0/libs/python/doc/v2/object.html
Ralf
___
Cplusplus-sig mailing list
[email protected]