* Extract the StringIndex from a StringID. * @param str String identifier * @return StringIndex from \a str */
| 33 | * @return StringIndex from \a str |
| 34 | */ |
| 35 | inline StringIndexInTab GetStringIndex(StringID str) |
| 36 | { |
| 37 | return StringIndexInTab{str - (GetStringTab(str) << TAB_SIZE_BITS)}; |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Create a StringID |
no test coverage detected