|
TEMU
4.4
The Terma Emulator
|
#include </builds/termade/temu/temu/include/temu-c/Support/Objsys.h>

Data Fields | |
| temu_Type | Typ |
| Value type. More... | |
| 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 | |
| temu_Object_ * 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_Buff temu_Propval::Buffer |
| double temu_Propval::d |
| temu_Dict* temu_Propval::Dict |
| float temu_Propval::f |
| int16_t temu_Propval::i16 |
| int32_t temu_Propval::i32 |
| int64_t temu_Propval::i64 |
| int8_t temu_Propval::i8 |
| temu_IfaceRef temu_Propval::IfaceRef |
| temu_IfaceRefArray temu_Propval::IfaceRefArray |
| intptr_t temu_Propval::IntPtr |
| temu_List temu_Propval::List |
| temu_Object_* temu_Propval::Obj |
| const char* temu_Propval::String |
| temu_Type temu_Propval::Typ |
Value type.
| uint16_t temu_Propval::u16 |
| uint32_t temu_Propval::u32 |
| uint64_t temu_Propval::u64 |
| uint8_t temu_Propval::u8 |
| uintptr_t temu_Propval::UIntPtr |
| temu_Vector temu_Propval::Vector |