diff options
Diffstat (limited to 'src/lanes.h')
-rw-r--r-- | src/lanes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lanes.h b/src/lanes.h index 287e405..6fea869 100644 --- a/src/lanes.h +++ b/src/lanes.h | |||
@@ -23,9 +23,9 @@ extern "C" | |||
23 | #define LANES_VERSION_GREATER_THAN(MAJOR, MINOR, PATCH) ((LANES_VERSION_MAJOR > MAJOR) || (LANES_VERSION_MAJOR == MAJOR && (LANES_VERSION_MINOR > MINOR || (LANES_VERSION_MINOR == MINOR && LANES_VERSION_PATCH > PATCH)))) | 23 | #define LANES_VERSION_GREATER_THAN(MAJOR, MINOR, PATCH) ((LANES_VERSION_MAJOR > MAJOR) || (LANES_VERSION_MAJOR == MAJOR && (LANES_VERSION_MINOR > MINOR || (LANES_VERSION_MINOR == MINOR && LANES_VERSION_PATCH > PATCH)))) |
24 | #define LANES_VERSION_GREATER_OR_EQUAL(MAJOR, MINOR, PATCH) ((LANES_VERSION_MAJOR > MAJOR) || (LANES_VERSION_MAJOR == MAJOR && (LANES_VERSION_MINOR > MINOR || (LANES_VERSION_MINOR == MINOR && LANES_VERSION_PATCH >= PATCH)))) | 24 | #define LANES_VERSION_GREATER_OR_EQUAL(MAJOR, MINOR, PATCH) ((LANES_VERSION_MAJOR > MAJOR) || (LANES_VERSION_MAJOR == MAJOR && (LANES_VERSION_MINOR > MINOR || (LANES_VERSION_MINOR == MINOR && LANES_VERSION_PATCH >= PATCH)))) |
25 | 25 | ||
26 | LANES_API [[nodiscard]] int luaopen_lanes_core(lua_State* L); | 26 | LANES_API [[nodiscard]] int luaopen_lanes_core(lua_State* L_); |
27 | 27 | ||
28 | // Call this to work with embedded Lanes instead of calling luaopen_lanes_core() | 28 | // Call this to work with embedded Lanes instead of calling luaopen_lanes_core() |
29 | LANES_API void luaopen_lanes_embedded(lua_State* L, lua_CFunction _luaopen_lanes); | 29 | LANES_API void luaopen_lanes_embedded(lua_State* L_, lua_CFunction _luaopen_lanes); |
30 | using luaopen_lanes_embedded_t = void (*)(lua_State* L, lua_CFunction luaopen_lanes_); | 30 | using luaopen_lanes_embedded_t = void (*)(lua_State* L_, lua_CFunction luaopen_lanes_); |
31 | static_assert(std::is_same_v<decltype(&luaopen_lanes_embedded), luaopen_lanes_embedded_t>, "signature changed: check all uses of luaopen_lanes_embedded_t"); | 31 | static_assert(std::is_same_v<decltype(&luaopen_lanes_embedded), luaopen_lanes_embedded_t>, "signature changed: check all uses of luaopen_lanes_embedded_t"); |