Skip to content
Snippets Groups Projects
Commit 03b6bb83 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by Andreas Klöckner
Browse files

Remove unused PYTHON_ERROR macro

parent 6bb1a983
No related branches found
No related tags found
No related merge requests found
...@@ -35,12 +35,6 @@ ...@@ -35,12 +35,6 @@
namespace py = pybind11; namespace py = pybind11;
#define PYTHON_ERROR(TYPE, REASON) \
{ \
PyErr_SetString(PyExc_##TYPE, REASON); \
throw boost::python::error_already_set(); \
}
#define ENUM_VALUE(NAME) \ #define ENUM_VALUE(NAME) \
value(#NAME, NAME) value(#NAME, NAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment