1 int stringswitch_enumerator_eval_func(argv0
) (char* str
, size_t l
) {
6 if(memcmp(str
+ 1, "i", 1) == 0)
7 return stringswitch_enumerator_member_name(argv0
, hi
);
11 if(memcmp(str
+ 1, "o", 1) == 0)
12 return stringswitch_enumerator_member_name(argv0
, lo
);
18 case 3: if(memcmp(str
+ 0, "bye", 3) == 0)
19 return stringswitch_enumerator_member_name(argv0
, bye
);
22 case 5: if(str
[0] != 'h')
26 if(memcmp(str
+ 2, "hello" + 2, 5 - 2) == 0)
27 return stringswitch_enumerator_member_name(argv0
, hello
);
37 return stringswitch_enumerator_member_name(argv0
, holla
);
39 return stringswitch_enumerator_member_name(argv0
, hollu
);
44 if(memcmp(str
+ 3, "hodlu" + 3, 5 - 3) == 0)
45 return stringswitch_enumerator_member_name(argv0
, hodlu
);
58 return stringswitch_enumerator_default_member_name(argv0
);