Issue 144: Easy C++ Wrapper for Embedding
http://code.google.com/p/v8/issues/detail?id=144
Comment #5 by pastbin:
CppWrapper is interesting. I have something similar roughly inspired by
Boost.Python.
class_<Point>("Point")
.construct<int>()
.construct<int, int>()
.def("getY", &Point::getY)
.def("setY", &Point::setY)
.def("printPoint", &Point::printPoint)
.def("printPointConstRef", &Point::printPointConstRef)
.add_property("x", &Point::getX, &Point::setX)
;
I'll open a thread in the mailing list when I have something good enough
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---