summaryrefslogtreecommitdiff
path: root/src/pyutils.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-20 15:03:22 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-05-20 15:03:22 -0500
commita9bdcc33013b5e1e76571ee1104bd8c7f278e775 (patch)
tree5c71b678e8180cc49dd6a8ad7bc27ce1abaf24ad /src/pyutils.h
parent1b83c684fbb88b40a4b3b7114a9116b0e582bc67 (diff)
downloadfork-ledger-a9bdcc33013b5e1e76571ee1104bd8c7f278e775.tar.gz
fork-ledger-a9bdcc33013b5e1e76571ee1104bd8c7f278e775.tar.bz2
fork-ledger-a9bdcc33013b5e1e76571ee1104bd8c7f278e775.zip
Work around collision between Format's put & Graph
Diffstat (limited to 'src/pyutils.h')
-rw-r--r--src/pyutils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pyutils.h b/src/pyutils.h
index a34eee00..406ca1ee 100644
--- a/src/pyutils.h
+++ b/src/pyutils.h
@@ -180,10 +180,6 @@ namespace boost { namespace python {
BOOST_PYTHON_RETURN_TO_PYTHON_BY_VALUE(T,expr, pytype) \
BOOST_PYTHON_ARG_TO_PYTHON_BY_VALUE(T,expr)
-#if !HAVE_CXX11 && (VERIFY_ON || HAVE_BOOST_PYTHON)
-BOOST_PYTHON_TO_PYTHON_BY_VALUE(ledger::string, ::PyUnicode_FromEncodedObject(::PyString_FromString(x.c_str()), "UTF-8", NULL), &PyUnicode_Type)
-#endif
-
} } // namespace boost::python
//boost::python::register_ptr_to_python< boost::shared_ptr<Base> >();