Logo Search packages:      
Sourcecode: inkscape version File versions

CRTerm* cr_term_new ( void   ) 

Instanciate a CRTerm.

Returns:
the newly build instance of CRTerm.

Definition at line 85 of file cr-term.c.

References cr_utils_trace_info.

Referenced by cr_parser_parse_term().

{
        CRTerm *result = (CRTerm *)g_try_malloc (sizeof (CRTerm));
        if (!result) {
                cr_utils_trace_info ("Out of memory");
                return NULL;
        }
        memset (result, 0, sizeof (CRTerm));
        return result;
}


Generated by  Doxygen 1.6.0   Back to index