[C++-sig] converting a PyObject into its C-Type

2010-08-27 Thread Erik Tuerke
.def("__setitem__", &_Vector4::setItem) .def("__getitem__", &_Vector4::getItem) ; How can i convert the PyObject "py_fvector4" back into its C-Type _Vector4 (or isis::util::fvector4) ? Thanks for your help and best regards! -- Erik Tuerke D

Re: [C++-sig] Wrapping method that returns const int& (boost::python)

2010-10-25 Thread Erik Tuerke
st Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig Hi! I totally affiliate myself to this problem. The only difference is that i do not return a const reference but rather a reference. So maybe we can find a solution for this together :-) Greetings! -- Erik Tuerke Depart