TEMU  4.4
The Terma Emulator
Temu3Compat.h
Go to the documentation of this file.
1 #ifndef TEMU3_COMPAT_H
2 #define TEMU3_COMPAT_H
3 // Define TEMU_TYPE_ERASED_OBJECTS to typerase arguments to object function
4 // this is the API behaviour from TEMU2, but TEMU3 takes temu_Object pointers
5 // instead by default. This macro exists in order to make it quick to update
6 // models from TEMU2 to TEMU3 if they are written in C++.
7 #ifdef TEMU_TYPE_ERASED_OBJECTS
8 #define temu_TimeSource_ void
9 #define temu_TimeSourceS_ void
10 #else
11 #define temu_TimeSource_ temu_TimeSource
12 #define temu_TimeSourceS_ struct temu_TimeSource
13 #endif
14 
15 
16 #endif //! TEMU3_COMPAT_H