aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/keeper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keeper.h b/src/keeper.h
index 05e3547..04bf834 100644
--- a/src/keeper.h
+++ b/src/keeper.h
@@ -9,6 +9,7 @@ class Universe;
9 9
10using KeeperState = Unique<lua_State*>; 10using KeeperState = Unique<lua_State*>;
11using LindaLimit = Unique<int>; 11using LindaLimit = Unique<int>;
12using KeeperIndex = Unique<int>;
12 13
13// ################################################################################################# 14// #################################################################################################
14 15
@@ -62,7 +63,7 @@ struct Keepers
62 63
63 Keepers() = default; 64 Keepers() = default;
64 void close(); 65 void close();
65 [[nodiscard]] Keeper* getKeeper(int idx_); 66 [[nodiscard]] Keeper* getKeeper(KeeperIndex idx_);
66 [[nodiscard]] int getNbKeepers() const; 67 [[nodiscard]] int getNbKeepers() const;
67 void initialize(Universe& U_, lua_State* L_, int nbKeepers_, int gc_threshold_); 68 void initialize(Universe& U_, lua_State* L_, int nbKeepers_, int gc_threshold_);
68}; 69};