Logo Search packages:      
Sourcecode: inkscape version File versions

enum CRStatus cr_attr_sel_prepend_attr_sel ( CRAttrSel *  a_this,
CRAttrSel *  a_attr_sel 
)

Prepends an attribute selector to the list of attributes selector represented by a_this.

Parameters:
a_this the "this pointer" of the current instance of CRAttrSel.
a_attr_sel the attribute selector to append.
Returns:
CR_OK upon successfull completion, an error code otherwise.

Definition at line 84 of file cr-attr-sel.c.

{
        g_return_val_if_fail (a_this && a_attr_sel, 
                              CR_BAD_PARAM_ERROR);

        a_attr_sel->next = a_this;
        a_this->prev = a_attr_sel;

        return CR_OK;
}


Generated by  Doxygen 1.6.0   Back to index