summaryrefslogtreecommitdiff
path: root/FantomModule/FantomModule.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-01 15:49:21 +0800
committerTat-Chee Wan (USM)2011-03-01 15:49:21 +0800
commitedf4a348de0ddaf3bd0429d3cbb7dacc3b748954 (patch)
treec6db70e27f2d14c9c2615af5fd9d03752108aede /FantomModule/FantomModule.h
parenta9c9b62a94e0398e5be0f3eb5f1ef666548617ca (diff)
added pyfantom python module, renamed .cp to .cpp, add setup.py
Diffstat (limited to 'FantomModule/FantomModule.h')
-rw-r--r--FantomModule/FantomModule.h4
1 files changed, 2 insertions, 2 deletions
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 <Python.h>
+#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);