From edf4a348de0ddaf3bd0429d3cbb7dacc3b748954 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Tue, 1 Mar 2011 15:49:21 +0800 Subject: added pyfantom python module, renamed .cp to .cpp, add setup.py --- FantomModule/FantomModule.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FantomModule/FantomModule.h') diff --git a/FantomModule/FantomModule.h b/FantomModule/FantomModule.h index 91e7575..4266d04 100644 --- a/FantomModule/FantomModule.h +++ b/FantomModule/FantomModule.h @@ -10,7 +10,7 @@ #ifndef FantomModule_ #define FantomModule_ -#include +#include "Python.h" #include "fantom/iNXT.h" #include "fantom/iNXTIterator.h" #include "fantom/tStatus.h" @@ -23,7 +23,7 @@ /* The classes below are exported */ #pragma GCC visibility push(default) -extern "C" PyMODINIT_FUNC initspam(void); +extern "C" PyMODINIT_FUNC initfantom(void); extern "C" PyObject *fantom_finddevices(PyObject *py_self, PyObject *py_args); extern "C" PyObject *fantom_socket(PyObject *py_self, PyObject *py_args); -- cgit v1.2.3