diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-26 17:45:16 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-26 17:45:16 +0200 |
commit | 62a7eab66f8f6af66c94390138815c3171b62810 (patch) | |
tree | 0b93a11f97e186d82a931b40ae092f7438ca3f31 /src/keeper.h | |
parent | e715be93bf00a452a6c2f1cd86a60b4ef5f30b07 (diff) | |
download | lanes-62a7eab66f8f6af66c94390138815c3171b62810.tar.gz lanes-62a7eab66f8f6af66c94390138815c3171b62810.tar.bz2 lanes-62a7eab66f8f6af66c94390138815c3171b62810.zip |
Change linda:limit()
* read the current limit of a key if no limit is provided
* "unlimited" is to be used to clear the limit
* fix linda:set() not ignoring the limit
Diffstat (limited to 'src/keeper.h')
-rw-r--r-- | src/keeper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keeper.h b/src/keeper.h index 102d006..05e3547 100644 --- a/src/keeper.h +++ b/src/keeper.h | |||
@@ -8,6 +8,7 @@ enum class LookupMode; | |||
8 | class Universe; | 8 | class Universe; |
9 | 9 | ||
10 | using KeeperState = Unique<lua_State*>; | 10 | using KeeperState = Unique<lua_State*>; |
11 | using LindaLimit = Unique<int>; | ||
11 | 12 | ||
12 | // ################################################################################################# | 13 | // ################################################################################################# |
13 | 14 | ||