TEMU
4.4
The Terma Emulator
Temu2Compat.h
Go to the documentation of this file.
1
#
ifndef
TEMU2_COMPAT_H
2
#
define
TEMU2_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_Object_
void
9
#
define
temu_ObjectS_
void
10
#
define
temu_Component_
void
11
#
define
temu_ComponentS_
void
12
#
else
13
#
define
temu_Object_
temu_Object
14
#
define
temu_ObjectS_
struct
temu_Object
15
#
define
temu_Component_
temu_Component
16
#
define
temu_ComponentS_
struct
temu_Component
17
#
endif
18
19
20
#
endif
//! TEMU2_COMPAT_H
temu-c
Support
Temu2Compat.h
Generated by
1.8.17