-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathamGHOST_V.hh
41 lines (31 loc) · 1015 Bytes
/
amGHOST_V.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once
#ifndef amGHOST_V
#define amGHOST_V
/** V: Valerie [October 12, 2049] */
/** CMAKE / MESON option */
#ifndef amGHOST_V_DISABLED
/** has Include Guard.... */
#include "amGHOST_System.hh"
/** \see amGHOST_System.cpp */
#ifdef amGHOST_V_IMPLEMENTATION
static inline amGHOST_System *amGHOST_init(void) {
if (amGHOST_System::heart == nullptr) {
amGHOST_System::create_system();
}
return amGHOST_System::get_system();
}
amGHOST_System *amGHOST_X = amGHOST_init();
#define amGHOST_SYS amGHOST_X
#define amG_SYS amGHOST_X
#else
/** This used to be static.... */
extern amGHOST_System *amGHOST_X;
#define amGHOST_SYS amGHOST_X
#define amG_SYS amGHOST_X
#define AMG_SYS amGHOST_X
#define AMATEUR_GHOST amGHOST_X
#define MARADONA amGHOST_X
/** MARADONA, czzzz He.... He's Not alive anymore.... maybe became a GHOST.... */
#endif
#endif // amGHOST_V_DISABLED
#endif // amGHOST_V