Logo Search packages:      
Sourcecode: inkscape version File versions

enum CRStatus cr_token_set_cdo ( CRToken a_this  ) 

Sets the type of the current instance of CRToken to 'CDO_TK' (CDO as said by the css2 spec)

Parameters:
a_this the current instance of CRToken.
Returns:
CR_OK upon successfull completion, an error code otherwise.

Definition at line 174 of file cr-token.c.

References cr_token_clear(), and _CRToken::type.

Referenced by cr_tknzr_get_next_token().

{
        g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);

        cr_token_clear (a_this);

        a_this->type = CDO_TK;

        return CR_OK;
}


Generated by  Doxygen 1.6.0   Back to index