diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-14 14:48:07 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-14 14:48:07 +0200 |
commit | 7d24fb298abbc517c1c0ca185087fd9233a3b687 (patch) | |
tree | 22ad97cc93930cea7a1fe18b26c922431252fc4a /src/linda.h | |
parent | 9589d1941671818f78d9894cfc9485054d62d122 (diff) | |
download | lanes-7d24fb298abbc517c1c0ca185087fd9233a3b687.tar.gz lanes-7d24fb298abbc517c1c0ca185087fd9233a3b687.tar.bz2 lanes-7d24fb298abbc517c1c0ca185087fd9233a3b687.zip |
Almost nothing
Diffstat (limited to 'src/linda.h')
-rw-r--r-- | src/linda.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/linda.h b/src/linda.h index 56941a1..4943197 100644 --- a/src/linda.h +++ b/src/linda.h | |||
@@ -59,14 +59,13 @@ class Linda | |||
59 | Linda& operator=(Linda const&) = delete; | 59 | Linda& operator=(Linda const&) = delete; |
60 | Linda& operator=(Linda const&&) = delete; | 60 | Linda& operator=(Linda const&&) = delete; |
61 | 61 | ||
62 | [[nodiscard]] static int ProtectedCall(lua_State* L_, lua_CFunction f_); | ||
63 | |||
64 | private: | 62 | private: |
65 | void setName(char const* name_, size_t len_); | 63 | void setName(char const* name_, size_t len_); |
66 | 64 | ||
67 | public: | 65 | public: |
68 | [[nodiscard]] char const* getName() const; | ||
69 | [[nodiscard]] Keeper* whichKeeper() const { return U->keepers->nb_keepers ? &U->keepers->keeper_array[keeperIndex] : nullptr; } | ||
70 | [[nodiscard]] Keeper* acquireKeeper() const; | 66 | [[nodiscard]] Keeper* acquireKeeper() const; |
67 | [[nodiscard]] char const* getName() const; | ||
71 | void releaseKeeper(Keeper* keeper_) const; | 68 | void releaseKeeper(Keeper* keeper_) const; |
69 | [[nodiscard]] static int ProtectedCall(lua_State* L_, lua_CFunction f_); | ||
70 | [[nodiscard]] Keeper* whichKeeper() const { return U->keepers->nb_keepers ? &U->keepers->keeper_array[keeperIndex] : nullptr; } | ||
72 | }; | 71 | }; |