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

Function jjBETTI2_ID

Singular/ipshell.cc:979–998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977}
978
979BOOLEAN jjBETTI2_ID(leftv res, leftv u, leftv v)
980{
981 lists l=(lists) omAllocBin(slists_bin);
982 l->Init(1);
983 l->m[0].rtyp=u->Typ();
984 l->m[0].data=u->Data();
985 attr *a=u->Attribute();
986 if (a!=NULL)
987 l->m[0].attribute=*a;
988 sleftv tmp2;
989 tmp2.Init();
990 tmp2.rtyp=LIST_CMD;
991 tmp2.data=(void *)l;
992 BOOLEAN r=jjBETTI2(res,&tmp2,v);
993 l->m[0].data=NULL;
994 l->m[0].attribute=NULL;
995 l->m[0].rtyp=DEF_CMD;
996 l->Clean();
997 return r;
998}
999
1000BOOLEAN jjBETTI2(leftv res, leftv u, leftv v)
1001{

Callers 1

jjBETTIFunction · 0.85

Calls 7

omAllocBinFunction · 0.85
jjBETTI2Function · 0.85
AttributeMethod · 0.80
CleanMethod · 0.80
InitMethod · 0.45
TypMethod · 0.45
DataMethod · 0.45

Tested by

no test coverage detected