diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-12-02 11:25:59 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-12-02 11:25:59 +0100 |
commit | 07c31b932078544205d61551edd4a66f69be30ae (patch) | |
tree | dabc87ec99e3e25b100b342e2d6083f86bfc4ea8 /include | |
parent | fff0e6dba508744f540bcf5efff76f676fe7af48 (diff) | |
download | astra-07c31b932078544205d61551edd4a66f69be30ae.tar.gz astra-07c31b932078544205d61551edd4a66f69be30ae.tar.bz2 astra-07c31b932078544205d61551edd4a66f69be30ae.tar.xz astra-07c31b932078544205d61551edd4a66f69be30ae.zip |
Avoid unnecessary include in header
Diffstat (limited to 'include')
-rw-r--r-- | include/astra/PluginAlgorithm.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/astra/PluginAlgorithm.h b/include/astra/PluginAlgorithm.h index b56228e..667e813 100644 --- a/include/astra/PluginAlgorithm.h +++ b/include/astra/PluginAlgorithm.h @@ -31,13 +31,16 @@ $Id$ #ifdef ASTRA_PYTHON -#include <Python.h> -#include "bytesobject.h" #include "astra/Algorithm.h" #include "astra/Singleton.h" #include "astra/XMLDocument.h" #include "astra/XMLNode.h" +// Slightly hackish forward declaration of PyObject +struct _object; +typedef _object PyObject; + + namespace astra { class _AstraExport CPluginAlgorithm : public CAlgorithm { @@ -84,4 +87,4 @@ PyObject* XMLNode2dict(XMLNode node); #endif -#endif
\ No newline at end of file +#endif |