Open GoogleCodeExporter opened 8 years ago
Hi, it looks like the problem is in the python bindings for the class Value:
http://code.google.com/p/coral-repo/source/browse/coral/coral/pythonWrappers/val
ueWrapper.h
It's missing the boost code to enable python overloading.
I'm not sure when I'll be able to work on this, so if you wanna give it a try,
you could easily use the Node wrapper as an example, look for:
NodeWrapper::asScript,
NodeWrapper::asScript_default,
def("asScript", &Node::asScript, &NodeWrapper::asScript_default)
Doing the same for Value::asString/setFromString will allow you to overload
those methods from python.
Original comment by aintergu...@gmail.com
on 25 Jul 2012 at 5:20
Thanks for such a quick reply, indeed I can see that there is no function
defined in ValueWrapper to expose the virtual method Value::asScript (and
Value::setFromString).
It seems quite straightforward to code, so I guess I will resolve this issue
quickly.
Original comment by pierre.a...@gmail.com
on 26 Jul 2012 at 10:14
Original issue reported on code.google.com by
pierre.a...@gmail.com
on 25 Jul 2012 at 4:54