ca23c0261166f2db88ee0a2a4944bf0d439c0f37
[platform/upstream/fontconfig.git] / src / fcobjshash.gperf.h
1 %{
2 CUT_OUT_BEGIN
3 #include <fontconfig/fontconfig.h>
4 CUT_OUT_END
5 %}
6 %struct-type
7 %language=ANSI-C
8 %includes
9 %enum
10 %readonly-tables
11 %define slot-name name
12 %define hash-function-name FcObjectTypeHash
13 %define lookup-function-name FcObjectTypeLookup
14
15 %pic
16 %define string-pool-name FcObjectTypeNamePool
17
18 struct FcObjectTypeInfo {
19         int name;
20         int id;
21 };
22
23 %%
24 #define FC_OBJECT(NAME, Type, Cmp) FC_##NAME, FC_##NAME##_OBJECT
25 #include "fcobjs.h"
26 #undef FC_OBJECT