Logo Search packages:      
Sourcecode: inkscape version File versions

CRNum* cr_num_new ( void   ) 

The default constructor of CRNum.

the newly built instance of CRNum.

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

References cr_utils_trace_info.

Referenced by cr_num_dup(), and cr_num_new_with_val().

        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