diff options
Diffstat (limited to 'SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/CompassDirectionMarshaller.gp')
-rw-r--r-- | SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/CompassDirectionMarshaller.gp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/CompassDirectionMarshaller.gp b/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/CompassDirectionMarshaller.gp new file mode 100644 index 000000000..bdd04c86f --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/CompassDirectionMarshaller.gp @@ -0,0 +1,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 |