[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    InsertCxObj -- insert a commodity object in a list after a given
                   object. (V36)

SYNOPSIS
    InsertCxObj(headObj,co,pred);
                A0      A1 A2

    VOID InsertCxObj(CxObj *,CxObj *,CxObj *);

FUNCTION
    Adds 'co' to the list of objects pointed to by 'headObj' after
    object 'pred'.

INPUTS
    headObj - pointer to a list of objects
    co - the object to insert in the list
    pred - the object after which 'co' should be inserted. If this is NULL
           then 'co' is added to the head of the list.

RESULTS
    If 'co' is NULL, this function will record that fact in the
    internal accumulated error of 'headObj'. This error record
    can be retrieved using cxobjerror() and cleared using
    clearcxobjerror().

SEE ALSO
    cxobjerror(), clearcxobjerror()