|
TEMU
2
The Terma Emulator
|
#include <temu-c/Support/Objsys.h>
Data Fields | |
| temu_Type | Typ |
| union { | |
| intptr_t IntPtr | |
| uintptr_t UIntPtr | |
| float f | |
| double d | |
| uint8_t u8 | |
| uint16_t u16 | |
| uint32_t u32 | |
| uint64_t u64 | |
| int8_t i8 | |
| int16_t i16 | |
| int32_t i32 | |
| int64_t i64 | |
| void * Obj | |
| temu_IfaceRef IfaceRef | |
| temu_IfaceRefArray IfaceRefArray | |
| const char * String | |
| temu_Buff Buffer | |
| temu_Dict * Dict | |
| temu_Vector Vector | |
| temu_List List | |
| }; | |
Generic property value.
As properties can be of any normal type, the propval struct provides a sum type/tagged union which contain both the type tag and the property value.
| union { ... } |
| temu_IfaceRef temu_Propval::IfaceRef |
| temu_IfaceRefArray temu_Propval::IfaceRefArray |
| temu_Vector temu_Propval::Vector |