`global_table_entry` name field is wrong type in lua
this field is a ptr-string in structures and is a pointer to a null-terminated (C-style) string, but Lua interprets its as a pointer to a single character
this appears to be because codegen generates lua metadata that identifies the field as a "pointer to a single character" instead of identifying it as a C-style string
further research: codegen emits this as { FLD(POINTER, name), identity_traits<char >::get(), 0, 0 },. it should be { FLD(PRIMITIVE, name), TID(char*), 0, 0 }, which would result in it being mapped to ptr_string_identity. which is what identity_traits<char*>::get() returns, and is the desired type identity for a C-style string