|
CX Framework
Cross-platform C utility framework
|
Interface definitions and management for the object system. More...
Go to the source code of this file.
Data Structures | |
| struct | ObjIface |
Macros | |
| #define | objIfTmplName(iface) iface##_tmpl |
| #define | objIfImport(iface) extern iface objIfTmplName(iface) |
| #define | objIfCheck(iface) static_assert(((iface)->_implements, (iface)->_size, offsetof(*(iface), _parent) == offsetof(ObjIface, _parent)), "Not an interface") |
| #define | objIfBase(iface) ((ObjIface*)((iface)->_implements, (iface)->_parent, (iface)->_size, (iface))) |
Typedefs | |
| typedef struct ObjIface | ObjIface |
Interface definitions and management for the object system.
Definition in file objiface.h.