OLD | NEW |
1 %{ | 1 %{ |
2 #include "config.h" | 2 #include "config.h" |
3 #include "platform/graphics/Color.h" | 3 #include "platform/graphics/Color.h" |
4 #include <string.h> | 4 #include <string.h> |
5 | 5 |
6 namespace WebCore { | 6 namespace blink { |
7 %} | 7 %} |
8 %struct-type | 8 %struct-type |
9 struct NamedColor; | 9 struct NamedColor; |
10 %omit-struct-type | 10 %omit-struct-type |
11 %language=C++ | 11 %language=C++ |
12 %readonly-tables | 12 %readonly-tables |
13 %global-table | 13 %global-table |
14 %compare-strncmp | 14 %compare-strncmp |
15 %define class-name ColorDataHash | 15 %define class-name ColorDataHash |
16 %define lookup-function-name findColorImpl | 16 %define lookup-function-name findColorImpl |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 white, 0xffffffff | 166 white, 0xffffffff |
167 whitesmoke, 0xfff5f5f5 | 167 whitesmoke, 0xfff5f5f5 |
168 yellow, 0xffffff00 | 168 yellow, 0xffffff00 |
169 yellowgreen, 0xff9acd32 | 169 yellowgreen, 0xff9acd32 |
170 %% | 170 %% |
171 const struct NamedColor* findColor(register const char* str, register unsigned l
en) | 171 const struct NamedColor* findColor(register const char* str, register unsigned l
en) |
172 { | 172 { |
173 return ColorDataHash::findColorImpl(str, len); | 173 return ColorDataHash::findColorImpl(str, len); |
174 } | 174 } |
175 | 175 |
176 } // namespace WebCore | 176 } // namespace blink |
OLD | NEW |