Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

enum CRStatus cr_statement_at_charset_rule_get_charset ( CRStatement *  a_this,
CRString **  a_charset 
)

Gets the charset string associated to the current rule statement.

Parameters:
a_this the current rule statement.
a_charset out parameter. The returned charset string if and only if the function returned CR_OK.

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

References AT_CHARSET_RULE_STMT.

{
        g_return_val_if_fail (a_this
                              && a_this->type == AT_CHARSET_RULE_STMT
                              && a_this->kind.charset_rule,
                              CR_BAD_PARAM_ERROR);

        *a_charset = a_this->kind.charset_rule->charset;

        return CR_OK;
}


Generated by  Doxygen 1.6.0   Back to index