aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-14 15:23:21 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-14 15:23:21 +0200
commit149d6d6d16b10da9915e3018237405f6fe8749cf (patch)
tree3bf7ef659b5efd3d61bfd80eef2f48b9eff8d5ec /src/keeper.h
parent792128255b6c6add22f97ea60734181cb915f2ae (diff)
downloadlanes-149d6d6d16b10da9915e3018237405f6fe8749cf.tar.gz
lanes-149d6d6d16b10da9915e3018237405f6fe8749cf.tar.bz2
lanes-149d6d6d16b10da9915e3018237405f6fe8749cf.zip
More char* -> std::string_view conversions
Diffstat (limited to 'src/keeper.h')
-rw-r--r--src/keeper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keeper.h b/src/keeper.h
index 1a194e8..102d006 100644
--- a/src/keeper.h
+++ b/src/keeper.h
@@ -28,6 +28,8 @@ struct Keeper
28 Keeper(Keeper const&&) = delete; 28 Keeper(Keeper const&&) = delete;
29 Keeper& operator=(Keeper const&) = delete; 29 Keeper& operator=(Keeper const&) = delete;
30 Keeper& operator=(Keeper const&&) = delete; 30 Keeper& operator=(Keeper const&&) = delete;
31
32 [[nodiscard]] static int PushLindaStorage(Linda& linda_, DestState L_);
31}; 33};
32 34
33// ################################################################################################# 35// #################################################################################################
@@ -69,8 +71,6 @@ struct Keepers
69// xxh64 of string "kNilSentinel" generated at https://www.pelock.com/products/hash-calculator 71// xxh64 of string "kNilSentinel" generated at https://www.pelock.com/products/hash-calculator
70static constexpr UniqueKey kNilSentinel{ 0xC457D4EDDB05B5E4ull, "lanes.null" }; 72static constexpr UniqueKey kNilSentinel{ 0xC457D4EDDB05B5E4ull, "lanes.null" };
71 73
72[[nodiscard]] int keeper_push_linda_storage(Linda& linda_, DestState L_);
73
74using keeper_api_t = lua_CFunction; 74using keeper_api_t = lua_CFunction;
75#define KEEPER_API(_op) keepercall_##_op 75#define KEEPER_API(_op) keepercall_##_op
76 76