You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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 characterThe text was updated successfully, but these errors were encountered: