_d_paint_cast

private fnvoid * _d_paint_cast(To)(const return scope Object o)

Dynamic cast o to final class To only one level down

Parameters

oobject that is instance of a class
Tofinal class that is a subclass type of o

Returns

o if it succeeds, null if it fails