Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Module.h
Go to the documentation of this file.
1
19#ifndef PYSTON_MODULE_H
20#define PYSTON_MODULE_H
21
22#include <Python.h>
23
24extern "C" {
31#if PY_MAJOR_VERSION >= 3
32PyObject* PyInit_pyston(void);
33
34#define PYSTON_MODULE_INIT &PyInit_pyston
35#else
36void initpyston(void);
37
38#define PYSTON_MODULE_INIT &initpyston
39#endif
40}
41
42#endif // PYSTON_MODULE_H
void initpyston(void)