I have a simple solution for this: Use a macro.
`maps.h`: `#define REGION_TYPE_NAMES { "misc", "code", "exe", "heap", "stack" }`
In case of the global variable variant:
`maps.h`: `extern const char *region_type_names[];`
`maps.c`: `const char *region_type_names[] = REGION_TYPE_NAMES;`