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

#define MTABLE_CALLOC ( p,
err   ) 


do {                                            \
    if (! ((p) = (void *) calloc (sizeof (*(p)), size)))    \
      MEMORY_FULL (err);                              \
  } while (0)
The macro MTABLE_CALLOC() is like the macro MTABLE_MALLOC but use calloc instead of malloc, thus the allocated memory are zero cleared.

Definition at line 101 of file internal.h.

Generated by  Doxygen 1.6.0   Back to index