From 0cdf3f2692007319801f8c788a500ceebd57cf1c Mon Sep 17 00:00:00 2001 From: Marcel Loose <loose@astron.nl> Date: Mon, 21 May 2012 12:04:09 +0000 Subject: [PATCH] Task #3249: Wouter experiences weird checkout problems with this file. See if remove/add cycle helps. --- CEP/PyBDSM/src/c++/aux.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 CEP/PyBDSM/src/c++/aux.h diff --git a/CEP/PyBDSM/src/c++/aux.h b/CEP/PyBDSM/src/c++/aux.h deleted file mode 100644 index bbe83206dd6..00000000000 --- a/CEP/PyBDSM/src/c++/aux.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef _AUX_H_INCLUDED -#define _AUX_H_INCLUDED - -/*! - \file aux.h - - \ingroup pybdsm - - \brief Miscellaneous usefull routines -*/ - -#include <boost/version.hpp> -#include <boost/python.hpp> -#include <boost/python/detail/api_placeholder.hpp> - -#if BOOST_VERSION > 103200 -#define ADD_PROPERTY1(name, get, doc) .add_property(name, get, doc) -#define ADD_PROPERTY2(name, get, set, doc) .add_property(name, get, set, doc) -#else -#define ADD_PROPERTY1(name, get, doc) .add_property(name, get) -#define ADD_PROPERTY2(name, get, set, doc) .add_property(name, get, set) -#endif - -inline void py_assert(bool cond, PyObject *exc, const char *msg) -{ - if(!cond) { - PyErr_SetString(exc, msg); - throw boost::python::error_already_set(); - } -} - -#endif // _AUX_H_INCLUDED -- GitLab