Logo Search packages:      
Sourcecode: inkscape version File versions

CRToken* cr_token_new ( void   ) 

Default constructor of the CRToken class.

Returns:
the newly built instance of CRToken.

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

References cr_utils_trace_info.

Referenced by cr_tknzr_get_next_token().

{
        CRToken *result = (CRToken *)g_try_malloc (sizeof (CRToken));

        if (result == NULL) {
                cr_utils_trace_info ("Out of memory");
                return NULL;
        }

        memset (result, 0, sizeof (CRToken));

        return result;
}


Generated by  Doxygen 1.6.0   Back to index