[Tile-serving] [osm2pgsql-dev/osm2pgsql] Refactor Lua metatable initialization (PR #2352)

Jochen Topf notifications at github.com
Mon Jul 7 07:48:06 UTC 2025


There is a lot of duplication in that code.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2352

-- Commit Summary --

  * Simplify code order
  * Simplify setup of OSMObject Lua metatable
  * New luaX_set_up_metatable() helper function

-- File Changes --

    M src/flex-lua-expire-output.cpp (33)
    M src/flex-lua-geom.cpp (54)
    M src/flex-lua-locator.cpp (32)
    M src/flex-lua-table.cpp (28)
    M src/init.lua (22)
    M src/lua-utils.cpp (26)
    M src/lua-utils.hpp (5)
    M src/output-flex.cpp (44)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2352.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2352.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2352
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2352 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250707/5684a1a0/attachment.htm>


More information about the Tile-serving mailing list