Logo Search packages:      
Sourcecode: inkscape version File versions

enum CRStatus cr_token_set_s ( CRToken a_this  ) 

Sets the type of curren instance of CRToken to 'S_TK' (S in the css2 spec)

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

Definition at line 155 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 = S_TK;

        return CR_OK;

Generated by  Doxygen 1.6.0   Back to index