DNWA/11/wywolania/Data/stide_v1.1/Utils/errors.h
Jakub Stefko ab1d7e2546 ...
2021-01-28 18:33:55 +01:00

17 lines
346 B
C
Executable File

// ********
// 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