2 * Generic C functions and macros go here, there are no dependencies
3 * on Unicorn internal structures or the Ruby C API in here.
10 * capitalizes all lower-case ASCII characters and converts dashes
11 * to underscores for HTTP headers. Locale-agnostic.
13 static void snake_upcase_char(char *c
)
15 if (*c
>= 'a' && *c
<= 'z')
21 /* Downcases a single ASCII character. Locale-agnostic. */
22 static void downcase_char(char *c
)
24 if (*c
>= 'A' && *c
<= 'Z')
28 #endif /* UH_util_h */