summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/CompassDirectionMarshaller.gp
blob: bdd04c86f33c172b7f36518b5f2154f42b52a0f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%language=C++
%struct-type
%define lookup-function-name getPointer
%define class-name CompassDirection_intHash
%omit-struct-type
%readonly-tables
%compare-strncmp
%compare-lengths

struct NsSmartDeviceLinkRPCV2::PerfectHashTable
{
  const char *name;
  unsigned int idx;
};

%%
NORTH,0
NORTHWEST,1
WEST,2
SOUTHWEST,3
SOUTH,4
SOUTHEAST,5
EAST,6
NORTHEAST,7