1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
%language=C++ %struct-type %define lookup-function-name getPointer %define class-name ButtonPressMode_intHash %omit-struct-type %readonly-tables %compare-strncmp %compare-lengths struct NsSmartDeviceLinkRPC::PerfectHashTable { const char *name; unsigned int idx; }; %% LONG,0 SHORT,1