MCPcopy Create free account
hub / github.com/Singular/Singular / iiRunInit

Function iiRunInit

Singular/iplib.cc:966–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964 }
965}
966static void iiRunInit(package p)
967{
968 idhdl h=p->idroot->get("mod_init",0);
969 if (h==NULL) return;
970 if (IDTYP(h)==PROC_CMD)
971 {
972 int save=yylineno;
973 myynest++;
974 // procinfo *pi=(procinfo*)IDDATA(h);
975 //PrintS("mod_init found\n");
976 iiMake_proc(h,p,NULL);
977 myynest--;
978 yylineno=save;
979 }
980}
981/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
982BOOLEAN iiLoadLIB(FILE *fp, const char *libnamebuf, const char*newlib,
983 idhdl pl, BOOLEAN autoexport, BOOLEAN tellerror)

Callers 1

iiLoadLIBFunction · 0.85

Calls 2

iiMake_procFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected