aboutsummaryrefslogtreecommitdiff
path: root/src/linda.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/linda.h')
-rw-r--r--src/linda.h7
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};