BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
PyObject.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Base/Py/PyObject.h
6 //! @brief PyObvject forward declaration.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_BASE_PY_PYOBJECT_H
21 #define BORNAGAIN_BASE_PY_PYOBJECT_H
22 
23 #ifdef BORNAGAIN_PYTHON
24 #ifndef PyObject_HEAD
25 struct _object;
26 typedef _object PyObject;
27 #endif
28 #endif
29 
30 #endif // BORNAGAIN_BASE_PY_PYOBJECT_H
31 #endif // USER_API
_object PyObject
Definition: PyObject.h:25