diff options
Diffstat (limited to 'WebCore/platform/ColorData.gperf')
-rw-r--r-- | WebCore/platform/ColorData.gperf | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/WebCore/platform/ColorData.gperf b/WebCore/platform/ColorData.gperf index 11ef798..dd726cc 100644 --- a/WebCore/platform/ColorData.gperf +++ b/WebCore/platform/ColorData.gperf @@ -1,15 +1,13 @@ %struct-type -struct NamedColor { - const char *name; - int RGBValue; -}; -%language=ANSI-C +struct NamedColor; +%omit-struct-type +%language=C++ %readonly-tables %global-table %compare-strncmp -%define lookup-function-name findColor +%define class-name ColorDataHash +%define lookup-function-name findColorImpl %define hash-function-name colordata_hash_function -%includes %enum %% aliceblue, 0xf0f8ff |