![]() |
#include "kernel/mod2.h"#include "Singular/tok.h"#include "misc/options.h"#include "Singular/ipid.h"#include "omalloc/omalloc.h"#include "polys/monomials/ring.h"#include "Singular/subexpr.h"#include "Singular/ipshell.h"#include "Singular/fevoices.h"#include "Singular/lists.h"#include <ctype.h>#include "libparse.h"#include "Singular/mod_lib.h"Go to the source code of this file.
Macros | |
| #define | SI_MAX_NEST 500 |
| #define | MODULE_SUFFIX so |
| #define | MODULE_SUFFIX_STRING EXPANDED_STRINGIFY(MODULE_SUFFIX) |
| #define | SI_GET_BUILTIN_MOD_INIT0(name) int SI_MOD_INIT0(name)(SModulFunctions*); |
| #define | SI_GET_BUILTIN_MOD_INIT(name) if (strcmp(libname, #name ".so") == 0){ return SI_MOD_INIT0(name); } |
Functions | |
| BOOLEAN | load_modules (const char *newlib, char *fullname, BOOLEAN autoexport) |
| int | iiArithAddCmd (const char *szName, short nAlias, short nTokval, short nToktype, short nPos) |
| void | yylprestart (FILE *input_file) |
| int | current_pos (int i=0) |
| void | print_init () |
| char | mytolower (char c) |
| BOOLEAN | iiGetLibStatus (char *lib) |
| char * | iiProcName (char *buf, char &ct, char *&e) |
| char * | iiProcArgs (char *e, BOOLEAN withParenth) |
| char * | iiGetLibProcBuffer (procinfo *pi, int part) |
| BOOLEAN | iiAllStart (procinfov pi, char *p, feBufferTypes t, int l) |
| BOOLEAN | iiPStart (idhdl pn, leftv v) |
| static void | iiShowLevRings () |
| static void | iiCheckNest () |
| BOOLEAN | iiMake_proc (idhdl pn, package pack, leftv sl) |
| static void | iiCallLibProcBegin () |
| static void | iiCallLibProcEnd (idhdl save_ringhdl, ring save_ring) |
| void * | iiCallLibProc1 (const char *n, void *arg, int arg_type, BOOLEAN &err) |
| void * | iiCallLibProcM (const char *n, void **args, int *arg_types, BOOLEAN &err) |
| args: NULL terminated arry of arguments arg_types: 0 terminated array of corresponding types More... | |
| BOOLEAN | iiEStart (char *example, procinfo *pi) |
| SI_FOREACH_BUILTIN (SI_GET_BUILTIN_MOD_INIT0) } | |
| SModulFunc_t | iiGetBuiltinModInit (const char *libname) |
| BOOLEAN | iiTryLoadLib (leftv v, const char *id) |
| BOOLEAN | iiLocateLib (const char *lib, char *where) |
| BOOLEAN | iiLibCmd (char *newlib, BOOLEAN autoexport, BOOLEAN tellerror, BOOLEAN force) |
| static void | iiCleanProcs (idhdl &root) |
| static void | iiRunInit (package p) |
| BOOLEAN | iiLoadLIB (FILE *fp, const char *libnamebuf, const char *newlib, idhdl pl, BOOLEAN autoexport, BOOLEAN tellerror) |
| procinfo * | iiInitSingularProcinfo (procinfov pi, const char *libname, const char *procname, int, long pos, BOOLEAN pstatic) |
| int | iiAddCproc (const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v)) |
| int | iiAddCprocTop (const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v)) |
| BOOLEAN | load_builtin (const char *newlib, BOOLEAN autoexport, SModulFunc_t init) |
| void | module_help_main (const char *newlib, const char *help) |
| void | module_help_proc (const char *newlib, const char *p, const char *help) |
| void * | binary_module_function (const char *newlib, const char *funcname) |
| char | mytoupper (char c) |
| char * | iiConvName (const char *libname) |
Variables | |
| int | yylp_errno |
| int | yylplineno |
| char * | yylp_errlist [] |
| libstackv | library_stack |
| ring * | iiLocalRing |
| sleftv | iiRETURNEXPR |
| int | iiRETURNEXPR_len =0 |
| #define MODULE_SUFFIX_STRING EXPANDED_STRINGIFY(MODULE_SUFFIX) |
| #define SI_GET_BUILTIN_MOD_INIT | ( | name | ) | if (strcmp(libname, #name ".so") == 0){ return SI_MOD_INIT0(name); } |
| #define SI_GET_BUILTIN_MOD_INIT0 | ( | name | ) | int SI_MOD_INIT0(name)(SModulFunctions*); |
| int current_pos | ( | int | i = 0 | ) |
Definition at line 3344 of file libparse.cc.
| int iiAddCproc | ( | const char * | libname, |
| const char * | procname, | ||
| BOOLEAN | pstatic, | ||
| BOOLEAN(*)(leftv res, leftv v) | func | ||
| ) |
Definition at line 1005 of file iplib.cc.
| int iiAddCprocTop | ( | const char * | libname, |
| const char * | procname, | ||
| BOOLEAN | pstatic, | ||
| BOOLEAN(*)(leftv res, leftv v) | func | ||
| ) |
Definition at line 1078 of file iplib.cc.
| BOOLEAN iiAllStart | ( | procinfov | pi, |
| char * | p, | ||
| feBufferTypes | t, | ||
| int | l | ||
| ) |
Definition at line 293 of file iplib.cc.
| int iiArithAddCmd | ( | const char * | szName, |
| short | nAlias, | ||
| short | nTokval, | ||
| short | nToktype, | ||
| short | nPos | ||
| ) |
Definition at line 9024 of file iparith.cc.
Definition at line 613 of file iplib.cc.
|
static |
Definition at line 570 of file iplib.cc.
|
static |
Definition at line 588 of file iplib.cc.
args: NULL terminated arry of arguments arg_types: 0 terminated array of corresponding types
Definition at line 647 of file iplib.cc.
|
static |
Definition at line 699 of file iplib.cc.
| SModulFunc_t iiGetBuiltinModInit | ( | const char * | libname | ) |
| char* iiGetLibProcBuffer | ( | procinfo * | pi, |
| int | part | ||
| ) |
Definition at line 192 of file iplib.cc.
| BOOLEAN iiGetLibStatus | ( | char * | lib | ) |
Definition at line 74 of file iplib.cc.
| procinfo* iiInitSingularProcinfo | ( | procinfov | pi, |
| const char * | libname, | ||
| const char * | procname, | ||
| int | , | ||
| long | pos, | ||
| BOOLEAN | pstatic | ||
| ) |
Definition at line 991 of file iplib.cc.
Definition at line 826 of file iplib.cc.
| BOOLEAN iiLoadLIB | ( | FILE * | fp, |
| const char * | libnamebuf, | ||
| const char * | newlib, | ||
| idhdl | pl, | ||
| BOOLEAN | autoexport, | ||
| BOOLEAN | tellerror | ||
| ) |
Definition at line 915 of file iplib.cc.
Definition at line 485 of file iplib.cc.
Definition at line 353 of file iplib.cc.
|
static |
Definition at line 899 of file iplib.cc.
|
static |
Definition at line 459 of file iplib.cc.
Definition at line 764 of file iplib.cc.
| BOOLEAN load_builtin | ( | const char * | newlib, |
| BOOLEAN | autoexport, | ||
| SModulFunc_t | init | ||
| ) |
Definition at line 1197 of file iplib.cc.
Definition at line 1091 of file iplib.cc.
Definition at line 1249 of file iplib.cc.
Definition at line 1264 of file iplib.cc.
| char mytolower | ( | char | c | ) |
| char mytoupper | ( | char | c | ) |
| void print_init | ( | ) |
Definition at line 3480 of file libparse.cc.
| SI_FOREACH_BUILTIN | ( | SI_GET_BUILTIN_MOD_INIT0 | ) |
| void yylprestart | ( | FILE * | input_file | ) |
| char* yylp_errlist[] |
Definition at line 1112 of file libparse.cc.
| int yylp_errno |
Definition at line 1128 of file libparse.cc.
| int yylplineno |
Definition at line 1102 of file libparse.cc.