diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-11-27 18:14:32 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-11-27 18:14:32 +0100 |
commit | 4f8e92b37b7c20545ca08fefd1f1c0ca7d1673a9 (patch) | |
tree | 3dda322bc32cc49f53c8399a5bb03b04bf616cdc /src/lanes.hpp | |
parent | 95d8604d0822b32f2561c5b29f18acf909ead935 (diff) | |
download | lanes-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.hpp | 2 |
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_); | |||
18 | LANES_API void luaopen_lanes_embedded(lua_State* L_, lua_CFunction luaopen_lanes_); | 18 | LANES_API void luaopen_lanes_embedded(lua_State* L_, lua_CFunction luaopen_lanes_); |
19 | using luaopen_lanes_embedded_t = void (*)(lua_State* L_, lua_CFunction luaopen_lanes_); | 19 | using luaopen_lanes_embedded_t = void (*)(lua_State* L_, lua_CFunction luaopen_lanes_); |
20 | static_assert(std::is_same_v<decltype(&luaopen_lanes_embedded), luaopen_lanes_embedded_t>, "signature changed: check all uses of luaopen_lanes_embedded_t"); | 20 | static_assert(std::is_same_v<decltype(&luaopen_lanes_embedded), luaopen_lanes_embedded_t>, "signature changed: check all uses of luaopen_lanes_embedded_t"); |
21 | |||
22 | LANES_API int lanes_register(lua_State* L_); | ||