diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-10 20:07:24 -1000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:09:32 -0600 |
commit | e7ff3945d5f670a10a6f36acb288471a5dbeb5c8 (patch) | |
tree | 7f11b84936cfe699d941adfa5929efb385b66176 /src/py_format.cc | |
parent | ed30c9c82d3d1d57edc3fe0ea046964785b2b1c1 (diff) | |
download | fork-ledger-e7ff3945d5f670a10a6f36acb288471a5dbeb5c8.tar.gz fork-ledger-e7ff3945d5f670a10a6f36acb288471a5dbeb5c8.tar.bz2 fork-ledger-e7ff3945d5f670a10a6f36acb288471a5dbeb5c8.zip |
#if 0'd some unused Python bridge code
Diffstat (limited to 'src/py_format.cc')
-rw-r--r-- | src/py_format.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/py_format.cc b/src/py_format.cc index ce7052ac..fc2103c7 100644 --- a/src/py_format.cc +++ b/src/py_format.cc @@ -37,12 +37,14 @@ namespace ledger { using namespace boost::python; +#if 0 #define EXC_TRANSLATOR(type) \ void exc_translate_ ## type(const type& err) { \ PyErr_SetString(PyExc_ArithmeticError, err.what()); \ } //EXC_TRANSLATOR(format_error) +#endif void export_format() { @@ -55,10 +57,12 @@ void export_format() //implicitly_convertible<string, amount_t>(); +#if 0 #define EXC_TRANSLATE(type) \ register_exception_translator<type>(&exc_translate_ ## type); //EXC_TRANSLATE(format_error); +#endif } } // namespace ledger |