From 3909d2678ede154f9a7fe19617973d4daa173c47 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 31 Oct 2009 04:50:07 -0400 Subject: Removed most #if 0 blocks and callout comments --- src/py_amount.cc | 58 -------------------------------------------------------- 1 file changed, 58 deletions(-) (limited to 'src/py_amount.cc') diff --git a/src/py_amount.cc b/src/py_amount.cc index 68fd8698..7fe12674 100644 --- a/src/py_amount.cc +++ b/src/py_amount.cc @@ -119,9 +119,6 @@ void export_amount() make_getter(&amount_t::stream_fullstrings), make_setter(&amount_t::stream_fullstrings)) -#if 0 - .def(init()) -#endif .def(init()) .def(init()) @@ -137,108 +134,56 @@ internal precision.")) .def(self == self) .def(self == long()) .def(long() == self) -#if 0 - .def(self == double()) - .def(double() == self) -#endif .def(self != self) .def(self != long()) .def(long() != self) -#if 0 - .def(self != double()) - .def(double() != self) -#endif .def(! self) .def(self < self) .def(self < long()) .def(long() < self) -#if 0 - .def(self < double()) - .def(double() < self) -#endif .def(self <= self) .def(self <= long()) .def(long() <= self) -#if 0 - .def(self <= double()) - .def(double() <= self) -#endif .def(self > self) .def(self > long()) .def(long() > self) -#if 0 - .def(self > double()) - .def(double() > self) -#endif .def(self >= self) .def(self >= long()) .def(long() >= self) -#if 0 - .def(self >= double()) - .def(double() >= self) -#endif .def(self += self) .def(self += long()) -#if 0 - .def(self += double()) -#endif .def(self + self) .def(self + long()) .def(long() + self) -#if 0 - .def(self + double()) - .def(double() + self) -#endif .def(self -= self) .def(self -= long()) -#if 0 - .def(self -= double()) -#endif .def(self - self) .def(self - long()) .def(long() - self) -#if 0 - .def(self - double()) - .def(double() - self) -#endif .def(self *= self) .def(self *= long()) -#if 0 - .def(self *= double()) -#endif .def(self * self) .def(self * long()) .def(long() * self) -#if 0 - .def(self * double()) - .def(double() * self) -#endif .def(self /= self) .def(self /= long()) -#if 0 - .def(self /= double()) -#endif .def(self / self) .def(self / long()) .def(long() / self) -#if 0 - .def(self / double()) - .def(double() / self) -#endif .def("precision", &amount_t::precision) @@ -326,9 +271,6 @@ internal precision.")) register_optional_to_python(); -#if 0 - implicitly_convertible(); -#endif implicitly_convertible(); implicitly_convertible(); -- cgit v1.2.3