[Tile-serving] [openstreetmap/osm2pgsql] Clean up lua includes (PR #1988)
Jochen Topf
notifications at github.com
Fri Jun 30 14:09:09 UTC 2023
There was a bit of a mess of different (types of) includes. We now only use '#include <lua.hpp>' which includes all Lua C headers correctly and also works for LuaJIT.
Technically it might include more than we need in some cases, because lua.hpp includes several C headers some of which are only needed sometimes, but the largest one (lua.h) is the one we always need, the others are tiny.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1988
-- Commit Summary --
* Clean up lua includes
-- File Changes --
M src/command-line-parser.cpp (18)
M src/flex-lua-geom.cpp (6)
M src/geom-transform.hpp (5)
M src/lua-utils.cpp (6)
M src/lua-utils.hpp (5)
M src/output-flex.cpp (6)
M src/output-flex.hpp (5)
M src/tagtransform-lua.cpp (6)
M src/tagtransform-lua.hpp (5)
M tests/test-flex-indexes.cpp (3)
M tests/test-lua-utils.cpp (5)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1988.patch
https://github.com/openstreetmap/osm2pgsql/pull/1988.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1988
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1988 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230630/28794557/attachment-0001.htm>
More information about the Tile-serving
mailing list