Ignore:
Timestamp:
Feb 21, 2007, 2:40:49 AM (12 years ago)
Author:
bruno
Message:

ChangeLog? for mindi UTF-8
mr_strcat much more powerful as taking a vararg (+ tests).
improved text output to log file for mondo
merge from trunk memory management for mondorestore (begining)

File:
1 edited

Legend:

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

    r1178 r1196  
    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__);
     25#define mr_strcat(x,y,args...) mr_strcat_int((char **)&x, __LINE__,__FILE__, y,## args);
    2626
    2727/* Internal function bringing debuging info
     
    3333extern inline void *mr_malloc_int(size_t size, int line, char *file);
    3434extern inline void mr_setenv_int(const char *name, const char *value, int line, char *file);
    35 extern void mr_strcat_int(char **in, const char *add, int line, char *file);
     35extern void mr_strcat_int(char **in, int line, char *file, const char *fmt, ...);
    3636
    3737#endif                          /* MR_MEM_H */
Note: See TracChangeset for help on using the changeset viewer.