dmd.toctype

Convert a D type to a type the backend understands.

Authors

Walter Bright

Source: toctype.d

  • Declaration

    pure @safe tym_t modToTym(MOD mod);

    Determine backend tym bits corresponding to MOD

    Parameters

    MOD mod

    mod bits

    Return Value

    corresponding tym_t bits

  • Declaration

    type* Type_toCtype(Type t);

    Convert front end type t to backend type t.ctype. Memoize the result.

    Parameters

    Type t

    front end Type

    Return Value

    back end equivalent type