diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-29 12:22:28 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-29 12:22:28 +0200 |
commit | 3e3805297301b15f688297c9c7f65153aec86818 (patch) | |
tree | b2f14af3b46041ec8910f0fcb2205f16cd173f60 /src/lanes.h | |
parent | 07d6074b5deadc7ff6d30d5fb47fb6fa863a14ff (diff) | |
download | lanes-3e3805297301b15f688297c9c7f65153aec86818.tar.gz lanes-3e3805297301b15f688297c9c7f65153aec86818.tar.bz2 lanes-3e3805297301b15f688297c9c7f65153aec86818.zip |
Function parameters L → L_
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"); |