#ifndef XFUNCTIONS_H #define XFUNCTIONS_H /* For a given func, xfunc behaves like func but sets an error message * using AnugaVis_SetError() if something goes wrong. */ extern void *xmalloc(size_t size, const char *message); extern char *xstrdup(const char *s, const char *message); #endif