Logo Search packages:      
Sourcecode: m17n-lib version File versions  Download package

#define M17N_OBJECT ( object,
free_func,
err   ) 

Value:

do {                                      \
    MSTRUCT_CALLOC ((object), (err));                 \
    ((M17NObject *) (object))->ref_count = 1;         \
    ((M17NObject *) (object))->u.freer = free_func;   \
  } while (0)
Allocate a managed object OBJECT which has freer FREE_FUNC.

Definition at line 268 of file internal.h.


Generated by  Doxygen 1.6.0   Back to index