aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.hpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-11-27 18:14:32 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2024-11-27 18:14:32 +0100
commit4f8e92b37b7c20545ca08fefd1f1c0ca7d1673a9 (patch)
tree3dda322bc32cc49f53c8399a5bb03b04bf616cdc /src/lanes.hpp
parent95d8604d0822b32f2561c5b29f18acf909ead935 (diff)
downloadlanes-4f8e92b37b7c20545ca08fefd1f1c0ca7d1673a9.tar.gz
lanes-4f8e92b37b7c20545ca08fefd1f1c0ca7d1673a9.tar.bz2
lanes-4f8e92b37b7c20545ca08fefd1f1c0ca7d1673a9.zip
Make lanes.register() available as an exported C function lanes_register()
Diffstat (limited to 'src/lanes.hpp')
-rw-r--r--src/lanes.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lanes.hpp b/src/lanes.hpp
index a3731e4..550e6e6 100644
--- a/src/lanes.hpp
+++ b/src/lanes.hpp
@@ -18,3 +18,5 @@ LANES_API int luaopen_lanes_core(lua_State* L_);
18LANES_API void luaopen_lanes_embedded(lua_State* L_, lua_CFunction luaopen_lanes_); 18LANES_API void luaopen_lanes_embedded(lua_State* L_, lua_CFunction luaopen_lanes_);
19using luaopen_lanes_embedded_t = void (*)(lua_State* L_, lua_CFunction luaopen_lanes_); 19using luaopen_lanes_embedded_t = void (*)(lua_State* L_, lua_CFunction luaopen_lanes_);
20static_assert(std::is_same_v<decltype(&luaopen_lanes_embedded), luaopen_lanes_embedded_t>, "signature changed: check all uses of luaopen_lanes_embedded_t"); 20static_assert(std::is_same_v<decltype(&luaopen_lanes_embedded), luaopen_lanes_embedded_t>, "signature changed: check all uses of luaopen_lanes_embedded_t");
21
22LANES_API int lanes_register(lua_State* L_);