tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
_d_interface_cast
rt
compiler
dmd
rt
cast_
Attempts to cast Object o to class c. Returns o if successful, null if not.
extern (
C
)
Object
_d_interface_cast
(
void
*
p
,
ClassInfo
c
)
Meta
Source
See Implementation
rt
compiler
dmd
rt
cast_
functions
_d_dynamic_cast
_d_interface_cast
_d_interface_vtbl
_d_isbaseof
_d_isbaseof2
_d_toObject
Attempts to cast Object o to class c. Returns o if successful, null if not.