Displaying 1 result from an estimated 1 matches for "boost_python_modul".
Did you mean:
boost_python_module
2009 Aug 26
0
[LLVMdev] [Stackless] [C++-sig] [Boost] Trouble optimizing Boost.Python integration for game development (it seems too slow)
...nst Vec3 &who);
>> > // that `const Vec3` is REALLY needed, unless you want error monsoon
>> > to
>> > come down
>> > };
>> >
>> > // === boost:python wrapper ===
>> > // publish just += and * to python
>> >
>> > BOOST_PYTHON_MODULE(vec3)
>> > {
>> > class_<Vec3>("Vec3", init<float, float, float>())
>> > .def(self += self)
>> > .def(self * float())
>> > ;
>> > }
>> >
>> > // === implementation ===
>> >
>&g...