Changeset 5266 for anuga_work/development/anugavis/src/xmalloc.h
- Timestamp:
- May 2, 2008, 11:30:37 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anugavis/src/xmalloc.h
r5261 r5266 2 2 #define XMALLOC_H 3 3 4 /* Attempt a malloc. If it fails, set an error message and return NULL. 4 /* For a given func, xfunc behaves like func but sets an error message 5 * using AnugaVis_SetError(). 5 6 */ 6 extern void *xmalloc(size_t size, const char *func); 7 extern void *xmalloc(size_t size, const char *message); 8 extern char *xstrdup(const char *s, const char *message); 7 9 8 10 #endif
Note: See TracChangeset
for help on using the changeset viewer.