@@ -418,7 +418,7 @@ void setup_flex_table_indexes(lua_State *lua_state, flex_table_t *table,
418418 lua_pop (lua_state, 1 ); // "indexes"
419419}
420420
421- TRAMPOLINE_WRAPPED_OBJECT (table, __tostring )
421+ TRAMPOLINE_WRAPPED_OBJECT (table, tostring )
422422TRAMPOLINE_WRAPPED_OBJECT (table, cluster)
423423TRAMPOLINE_WRAPPED_OBJECT (table, columns)
424424TRAMPOLINE_WRAPPED_OBJECT (table, name)
@@ -469,7 +469,7 @@ void lua_wrapper_table::init(lua_State *lua_state)
469469 lua_pushvalue (lua_state, -1 );
470470 lua_setfield (lua_state, -2 , " __index" );
471471 luaX_add_table_func (lua_state, " __tostring" ,
472- lua_trampoline_table___tostring );
472+ lua_trampoline_table_tostring );
473473 luaX_add_table_func (lua_state, " insert" , lua_trampoline_table_insert);
474474 luaX_add_table_func (lua_state, " name" , lua_trampoline_table_name);
475475 luaX_add_table_func (lua_state, " schema" , lua_trampoline_table_schema);
@@ -479,7 +479,7 @@ void lua_wrapper_table::init(lua_State *lua_state)
479479 lua_pop (lua_state, 2 );
480480}
481481
482- int lua_wrapper_table::__tostring () const
482+ int lua_wrapper_table::tostring () const
483483{
484484 std::string const str{fmt::format (" osm2pgsql.Table[{}]" , self ().name ())};
485485 luaX_pushstring (lua_state (), str);
0 commit comments