lifetime.class_

Undocumented in source.

Members

Functions

_d_allocclass
Object _d_allocclass(TypeInfo_Class ti)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_delclass
void _d_delclass(Object* o)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_dynamic_cast
void* _d_dynamic_cast(Object o, ClassInfo c)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_interface_cast
void* _d_interface_cast(void* p, ClassInfo c)

Attempts to cast Object o to class c. Returns o if successful, null if not.

_d_isbaseof
int _d_isbaseof(ClassInfo oc, ClassInfo c)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_isbaseof2
int _d_isbaseof2(ClassInfo oc, ClassInfo c, size_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_newclass
Object _d_newclass(TypeInfo_Class ti)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_toObject
Object _d_toObject(void* p)

Given a pointer: If it is an Object, return that Object. If it is an interface, return the Object implementing the interface. If it is null, return null. Else, undefined crash

Meta