DNWA/11/wywolania/Data/stide_v1.1/Utils/errors.h

17 lines
346 B
C
Raw Normal View History

2021-01-28 18:33:55 +01:00
// ********
// ERRORS.H
// ********
#ifndef ERRORS_H
#define ERRORS_H
#include <stdarg.h>
#include <assert.h>
// this function takes a formatted character string and params like printf,
// prints a formatted message, and then aborts the program. Its used for
// trapping errors and halting execution.
void Error(const char *msg, ...);
#endif