TEMU  4.4
The Terma Emulator
temu_IfaceRef Struct Reference

#include </builds/termade/temu/temu/include/temu-c/Support/Objsys.h>

Data Fields

temu_Object_Obj
 Object pointer (first field of interface reference) More...
 
void * Iface
 Type erased interface pointer. More...
 

Detailed Description

Generic interface

In TEMU interfaces are referred to using an object / interface pointer pair. The object is in general passed as the first parameter to functions in the interface. This type provides a generic interface reference where the interface pointer itself is type erased.

While the type is rarely used by itself, it is commonly returned by the TEMU API. To convert to / from this type from / to typed interface references, it is possible to either memcopy or cast field by field.

Field Documentation

◆ Iface

void* temu_IfaceRef::Iface

Type erased interface pointer.

◆ Obj

temu_Object_* temu_IfaceRef::Obj

Object pointer (first field of interface reference)


The documentation for this struct was generated from the following file: