Logo Search packages:      
Sourcecode: inkscape version File versions

CRNum* cr_num_new ( void   ) 

The default constructor of CRNum.

Returns:
the newly built instance of CRNum.

Definition at line 41 of file cr-num.c.

References cr_utils_trace_info.

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

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

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

        return result;
}


Generated by  Doxygen 1.6.0   Back to index