Claude Chappe' Curse - A C Game
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1
#ifndef CONFIG_H
2
#define CONFIG_H
3
4
#ifndef _WIN32
5
enum
ReturnSymbol
{
6
CLOSE_PROGRAM
= -1,
7
NO_ERROR
,
8
};
9
#endif
10
11
12
#include <
term/term.h
>
13
#define UNUSED(x) (void)x;
14
#ifdef DEBUG
15
#include <signal.h>
16
#define BREAKPOINT printf("Breakpoint in %s at line %d\n", __FILE__, __LINE__), raise(SIGTRAP)
17
#define POINTER_CHECK(x) if (!x) printf("Pointer Exception in %s at line %d\n", __FILE__, __LINE__), exit(EXIT_FAILURE)
18
#else
19
#define BREAKPOINT
20
#define POINTER_CHECK(x)
21
#endif
22
#endif
ReturnSymbol
ReturnSymbol
Definition
config.h:5
CLOSE_PROGRAM
@ CLOSE_PROGRAM
Definition
config.h:6
NO_ERROR
@ NO_ERROR
Definition
config.h:7
term.h
Generated by
1.9.8