ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/memory.h
(Generate patch)

Comparing hopm/trunk/src/memory.h (file contents):
Revision 5351 by michael, Sun Jan 11 13:24:19 2015 UTC vs.
Revision 5426 by michael, Wed Jan 28 13:49:38 2015 UTC

# Line 21 | Line 21
21   #ifndef MALLOC_H
22   #define MALLOC_H
23  
24 #define MyFree(X) _MyFree((void **) &X)
25
24   extern void *xcalloc(size_t bytes);
25 < extern void _MyFree(void **var);
25 > extern void xfree(void *);
26   extern void *xstrdup(const char *);
27  
28   #endif /* MALLOC_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)