Changeset e94f7f in git


Ignore:
Timestamp:
Feb 28, 2017, 4:24:40 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
4d24f6272fb2b5388b2a23b455a78b4439e1eece
Parents:
ddf313aa15678b49ae4cbd1aa2881b4a49296061
Message:
fix: python_module, needed for openmath
Location:
Singular/dyn_modules
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/openmath/singularserver.sing

    rddf313a re94f7f  
    1111
    1212print(i2);
    13 LIB("/Users/michael/sing2/modules/python/python_module.so");
     13LIB("python_module.so");
    1414Python_module::python("from interpreter import SingularGlobalsProxy
    1515#import psyco
  • Singular/dyn_modules/python/interpreter_support.cc

    rddf313a re94f7f  
    445445boost::python::object call_interpreter_method(const idhdl_wrap& proc, const arg_list& args)
    446446{
    447   //idhdl oldPackHDL=currPackHdl;
    448 
    449   //package oldPack=currPack;
    450   //currPack=proc.id->data.pinf->pack;
    451   //currPackHdl=packFindHdl(currPack);
    452   //FIXME: will call procedure from different package, maybe use iiMakeProc
    453 
    454   int err=iiPStart(proc.id, args.args);
    455   //currPack=oldPack;
    456   //currPackHdl=oldPackHDL;
    457   int voice=myynest+1;
     447  int err=iiMake_proc(proc.id, NULL, args.args);
    458448  errorreported=inerror=0;
    459449
    460450  return buildPyObjectFromLeftv(&iiRETURNEXPR);
    461 
    462   //return res;
    463451}
    464452boost::python::object call_builtin_method_general(const char* name, arg_list& l)
Note: See TracChangeset for help on using the changeset viewer.