LuaToGo borked for LUA_TNUMBER and no type hint
CopyTableToStruct returns the struct or pointer to struct depending