Пример #1
0
 static python::tuple
 getinitargs(const ExplicitBitVect& self)
 {
   std::string res=self.toString();
   python::object retval = python::object(python::handle<>(PyBytes_FromStringAndSize(res.c_str(),res.length())));
   return python::make_tuple(retval);
 };
Пример #2
0
 static python::tuple
 getinitargs(const ExplicitBitVect& self)
 {
   return python::make_tuple(self.toString());
 };