Changeset 1178 in MondoRescue for branches/stable/mondo/src/include/mr_mem.h


Ignore:
Timestamp:
Feb 17, 2007, 2:27:26 AM (17 years ago)
Author:
Bruno Cornec
Message:

Continue to merge trunk memory management enhancements for libmondo-tools.c & libmondo-string.c
Introduction + test of a new function mr_strcat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/include/mr_mem.h

    r1162 r1178  
    2323#define mr_malloc(x) mr_malloc_int((size_t)x,__LINE__,__FILE__)
    2424#define mr_setenv(x,y) mr_setenv_int(x,y,__LINE__,__FILE__)
     25#define mr_strcat(x,y) mr_strcat_int((char **)&x,y, __LINE__,__FILE__);
    2526
    2627/* Internal function bringing debuging info
     
    3233extern inline void *mr_malloc_int(size_t size, int line, char *file);
    3334extern inline void mr_setenv_int(const char *name, const char *value, int line, char *file);
     35extern void mr_strcat_int(char **in, const char *add, int line, char *file);
    3436
    3537#endif                          /* MR_MEM_H */
Note: See TracChangeset for help on using the changeset viewer.