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

Function ssiWriteCommand

Singular/links/ssiLink.cc:414–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414static void ssiWriteCommand(si_link l, command D)
415{
416 ssiInfo *d=(ssiInfo*)l->data;
417 // syntax: <num ops> <operation> <op1> <op2> ....
418 fprintf(d->f_write,"%d %d ",D->argc,D->op);
419 if (D->argc >0) ssiWrite(l, &(D->arg1));
420 if (D->argc < 4)
421 {
422 if (D->argc >1) ssiWrite(l, &(D->arg2));
423 if (D->argc >2) ssiWrite(l, &(D->arg3));
424 }
425}
426
427static void ssiWriteProc(const ssiInfo *d,procinfov p)
428{

Callers 1

ssiWriteFunction · 0.85

Calls 1

ssiWriteFunction · 0.85

Tested by

no test coverage detected