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

Function iiAddCprocTop

Singular/iplib.cc:1147–1156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1145}
1146
1147int iiAddCprocTop(const char *libname, const char *procname, BOOLEAN pstatic,
1148 BOOLEAN(*func)(leftv res, leftv v))
1149{
1150 int r=iiAddCproc(libname,procname,pstatic,func);
1151 package s=currPack;
1152 currPack=basePack;
1153 if (r) r=iiAddCproc(libname,procname,pstatic,func);
1154 currPack=s;
1155 return r;
1156}
1157
1158/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
1159#ifdef HAVE_DYNAMIC_LOADING

Callers

nothing calls this directly

Calls 1

iiAddCprocFunction · 0.85

Tested by

no test coverage detected