rt.cast_

Undocumented in source.

Members

Functions

_d_dynamic_cast
Object _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
Object _d_interface_cast(void* p, ClassInfo c)

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

_d_interface_vtbl
void* _d_interface_vtbl(ClassInfo ic, Object o)

Find the vtbl[] associated with Interface ic.

_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_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

printf
int printf(char* , ...)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta