> You received this message because you are subscribed to the Google Groups
> "libsingular-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to libsingular-de...@googlegroups.com
> To post to this group, send email to libsingu...@googlegroups.com
> Visit this group at https://groups.google.com/group/libsingular-devel
> For more options, visit https://groups.google.com/d/optout
Calls to iiExprArith[1-3] shall provide pointers to the arguments (leftv).
For these arguments sleftv::CleanUp(currRing) is called - no need to do
it in Sage, but an additional CleanUp does not harm.
So the contents of these arguments are recycled,
but the memory blocks itself remain (because in Singular they are not
dynamic storage blocks but part of an array): omFree (or the
corresponding free-routine to the allocation) must be called.
For functions with a variable number of arguments (iiExprArithM) the
arguments are passed as a linked list and CleanUp recycles all content
and all memory blocks but the first - they must be allocted by routines
Calling library function should be equivalent to iiExprArithM.