diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-10 17:08:15 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-10 17:08:15 +0100 |
commit | 04f59310579a97102461710f6b3c8826e72723b3 (patch) | |
tree | d241690d2fd9041ec0e086a16e78228b501ececa /src/deep.hpp | |
parent | 18c708eb8fbe995efe4b06b93421db3d25e22636 (diff) | |
download | lanes-04f59310579a97102461710f6b3c8826e72723b3.tar.gz lanes-04f59310579a97102461710f6b3c8826e72723b3.tar.bz2 lanes-04f59310579a97102461710f6b3c8826e72723b3.zip |
Expanded deep_test a bit
Diffstat (limited to '')
-rw-r--r-- | src/deep.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/deep.hpp b/src/deep.hpp index e4bdaca..6bc3b20 100644 --- a/src/deep.hpp +++ b/src/deep.hpp | |||
@@ -41,6 +41,8 @@ class DeepPrelude | |||
41 | 41 | ||
42 | public: | 42 | public: |
43 | void push(lua_State* L_) const; | 43 | void push(lua_State* L_) const; |
44 | [[nodiscard]] | ||
45 | int getRefcount() const { return refcount.load(std::memory_order_relaxed); } | ||
44 | }; | 46 | }; |
45 | 47 | ||
46 | // ################################################################################################# | 48 | // ################################################################################################# |