diff options
Diffstat (limited to 'chill/include/chillmodule.hh')
-rw-r--r-- | chill/include/chillmodule.hh | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/chill/include/chillmodule.hh b/chill/include/chillmodule.hh index 2cb6587..a99db0c 100644 --- a/chill/include/chillmodule.hh +++ b/chill/include/chillmodule.hh @@ -1,19 +1,12 @@ -#ifndef BASIC_CHILLMODULE_HH -#define BASIC_CHILLMODULE_HH -// TODO Python.h defines these and something else does too -#undef _POSIX_C_SOURCE -#undef _XOPEN_SOURCE +#ifndef CHILLMODULE_HH +#define CHILLMODULE_HH #include <Python.h> -// a C routine that will be called from python -//static PyObject * chill_print_code(PyObject *self, PyObject *args); - -//static PyMethodDef ChillMethods[] ; - void finalize_loop(int loop_num_start, int loop_num_end); int get_loop_num_start(); int get_loop_num_end(); -PyMODINIT_FUNC initchill() ; // pass C methods to python +//! pass C methods to python +PyMODINIT_FUNC initchill(); #endif |