Ignore:
Timestamp:
Apr 19, 2020, 9:57:14 PM (4 years ago)
Author:
Karim Abou Zeid <karim23697@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
ffcf715a570941627bf020648e93955f1596f2ef
Parents:
d49a473d44aa25c5ecc3126360ab3179ddb8af7e636fa5455e699fa8c0a820dd60e00a059f96f8ef
Message:
Merge branch 'stable' into lp_Z
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/python/python_module.cc

    rd49a47 rb45eec  
    11#include "kernel/mod2.h"
    2 #ifdef HAVE_PYTHON_MOD
    32#include <stdlib.h>
    43#include <stdio.h>
     
    87#include <unistd.h>
    98#include <sys/stat.h>
    10 #include <boost/python.hpp>
    11 #include <Python.h>
    129#include "Singular/tok.h"
    1310#include "kernel/structs.h"
     
    1916#include "omalloc/omalloc.h"
    2017
    21 #include <stdio.h>
    22 #include <stdlib.h>
    23 #include <string.h>
    2418#include <time.h>
     19#if defined(HAVE_PYTHON_MOD) && defined(HAVE_PYTHON)
     20#include <boost/python.hpp>
     21#include <Python.h>
    2522#include <Python.h>
    2623#include "wrapper.h"
     
    8279  return MAX_TOK;
    8380}
     81#else
     82extern "C" int SI_MOD_INIT(python_module)(SModulFunctions* psModulFunctions)
     83{
     84  PrintS("no python_mod support\n");
     85  return MAX_TOK;
     86}
    8487#endif
Note: See TracChangeset for help on using the changeset viewer.