Skip to content
Snippets Groups Projects

PyCore: Re-implementation of embedded Python as a separate module (Major change)

Merged Ammar Nejati requested to merge newEmbeddedPython into main
4 files
+ 67
13
Compare changes
  • Side-by-side
  • Inline
Files
4
// forward declarations needed for using `PyObject`
// ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file PyCore/Embed/PyObjectDecl.h
//! @brief Forward declarations needed for using `PyObject`.
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
//! @copyright Forschungszentrum Jülich GmbH 2018
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
//
// ************************************************************************************************
#ifndef PYOBJECT_H
#define PYOBJECT_H
#ifndef BORNAGAIN_PYCORE_EMBED_PYOBJECTDECL_H
#define BORNAGAIN_PYCORE_EMBED_PYOBJECTDECL_H
#ifndef PyObject_HEAD
struct _object;
@@ -10,4 +22,4 @@ typedef _object PyObject;
typedef long int np_size_t; // size type used in Numpy
#endif // PYOBJECT_H
#endif // BORNAGAIN_PYCORE_EMBED_PYOBJECTDECL_H
Loading