/* error.h * * $Id: error.h,v 1.6 2003/11/08 18:24:57 whamann Exp $ * * Notice: This header file contains declarations of functions and types that * are just used internally. All library functions and types that are supposed * to be publicly accessable are defined in ./src/ming.h. */ #ifndef SWF_ERROR_H_INCLUDED #define SWF_ERROR_H_INCLUDED #include "ming.h" /* XXX - error calls should be macros to save the file/lineno */ extern void (*SWF_warn)(const char *msg, ...); extern void (*SWF_error)(const char *msg, ...); void warn_default(const char *msg, ...); void error_default(const char *msg, ...); void setSWFWarnFunction(void (*error)(const char *msg, ...)); void setSWFErrorFunction(void (*error)(const char *msg, ...)); void SWF_assert(int c); #endif /* SWF_ERROR_H_INCLUDED */