Changeset b45eec in git for Singular/dyn_modules/python/python_module.cc
- Timestamp:
- Apr 19, 2020, 9:57:14 PM (4 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ffcf715a570941627bf020648e93955f1596f2ef
- Parents:
- d49a473d44aa25c5ecc3126360ab3179ddb8af7e636fa5455e699fa8c0a820dd60e00a059f96f8ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/python/python_module.cc
rd49a47 rb45eec 1 1 #include "kernel/mod2.h" 2 #ifdef HAVE_PYTHON_MOD3 2 #include <stdlib.h> 4 3 #include <stdio.h> … … 8 7 #include <unistd.h> 9 8 #include <sys/stat.h> 10 #include <boost/python.hpp>11 #include <Python.h>12 9 #include "Singular/tok.h" 13 10 #include "kernel/structs.h" … … 19 16 #include "omalloc/omalloc.h" 20 17 21 #include <stdio.h>22 #include <stdlib.h>23 #include <string.h>24 18 #include <time.h> 19 #if defined(HAVE_PYTHON_MOD) && defined(HAVE_PYTHON) 20 #include <boost/python.hpp> 21 #include <Python.h> 25 22 #include <Python.h> 26 23 #include "wrapper.h" … … 82 79 return MAX_TOK; 83 80 } 81 #else 82 extern "C" int SI_MOD_INIT(python_module)(SModulFunctions* psModulFunctions) 83 { 84 PrintS("no python_mod support\n"); 85 return MAX_TOK; 86 } 84 87 #endif
Note: See TracChangeset
for help on using the changeset viewer.