Logo Search packages:      
Sourcecode: inkscape version File versions

enum CRStatus cr_statement_ruleset_get_sel_list ( CRStatement *  a_this,
CRSelector **  a_list 
)

Gets a pointer to the selector list contained in the current ruleset statement.

Parameters:
a_this the current ruleset statement.
a_list out parameter. The returned selector list, if and only if the function returned CR_OK.
Returns:
CR_OK upon successfull completion, an error code otherwise.

Definition at line 1937 of file cr-statement.c.

{
        g_return_val_if_fail (a_this && a_this->type == RULESET_STMT
                              && a_this->kind.ruleset, CR_BAD_PARAM_ERROR);

        *a_list = a_this->kind.ruleset->sel_list;

        return CR_OK;
}


Generated by  Doxygen 1.6.0   Back to index