Changeset 3128


Ignore:
Timestamp:
May 28, 2013, 7:01:21 AM (6 years ago)
Author:
bruno
Message:
  • Also adapt mr_mem.h content to the new mr_getline definition
File:
1 edited

Legend:

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

    r2208 r3128  
    2020#define mr_allocstr(x,y) mr_allocstr_int(x,y,__LINE__,__FILE__)
    2121#define mr_asprintf(x,y,args...) mr_asprintf_int(x,__LINE__,__FILE__,y,## args)
    22 #define mr_getline(x,y,z) mr_getline_int(x,y,z,__LINE__,__FILE__)
     22#define mr_getline(x,y) mr_getline_int(x,y,__LINE__,__FILE__)
    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__)
     
    3030extern inline void mr_allocstr_int(char *alloc, const char *orig, int line, char *file);
    3131extern inline void mr_asprintf_int(char **alloc, int line, char *file, const char *fmt, ...);
    32 extern inline void mr_getline_int(char **lineptr, size_t *n, FILE *stream, int line, char *file);
     32extern inline void mr_getline_int(char **lineptr, FILE *stream, int line, char *file);
    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);
Note: See TracChangeset for help on using the changeset viewer.