rt.compiler.gdc.rt.switch_

Undocumented in source.

Members

Functions

_d_switch_dstring
int _d_switch_dstring(dchar[][] table, dchar[] ca)

Same thing, but for wide chars.

_d_switch_string
int _d_switch_string(char[][] table, char[] ca)

Support for switch statements switching on strings. Input: table[] sorted array of strings generated by compiler ca string to look up in table Output: result index of match in table[] -1 if not in table

_d_switch_ustring
int _d_switch_ustring(wchar[][] table, wchar[] ca)

Same thing, but for wide chars.

Meta