| 107 | } |
| 108 | |
| 109 | int compose(int prev, int next) |
| 110 | { |
| 111 | Tables::Compose::const_iterator i = tables.compose.find(next); |
| 112 | if (i != tables.compose.end()) |
| 113 | for (const int *p = i->second; p[0] != 0; p += 2) |
| 114 | if (p[0] == prev) |
| 115 | return p[1]; |
| 116 | return -1; |
| 117 | } |
| 118 | |
| 119 | int toupper(int c) |
| 120 | { |
no test coverage detected