From 8bd16b2e8e61f914767e3d0973e83f7326f11cbc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 5 Nov 2009 02:27:08 -0500 Subject: Simplified usage of Boost.Python in several cases --- src/py_balance.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/py_balance.cc') diff --git a/src/py_balance.cc b/src/py_balance.cc index effc6937..6d0ad500 100644 --- a/src/py_balance.cc +++ b/src/py_balance.cc @@ -214,6 +214,12 @@ void export_balance() .def("valid", &balance_t::valid) ; + register_optional_to_python(); + + implicitly_convertible(); + implicitly_convertible(); + implicitly_convertible(); + #define EXC_TRANSLATE(type) \ register_exception_translator(&exc_translate_ ## type); -- cgit v1.2.3