aboutsummaryrefslogtreecommitdiff
path: root/src/intercopycontext.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/intercopycontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intercopycontext.h b/src/intercopycontext.h
index 28e1ead..4f6ed89 100644
--- a/src/intercopycontext.h
+++ b/src/intercopycontext.h
@@ -2,6 +2,8 @@
2 2
3#include "tools.h" 3#include "tools.h"
4 4
5#include <string_view>
6
5// forwards 7// forwards
6class Universe; 8class Universe;
7 9
@@ -41,6 +43,7 @@ class InterCopyContext
41 // when mode == LookupMode::FromKeeper, L1 is a keeper state and L2 is not, therefore L2 is the state where we want to raise the error 43 // when mode == LookupMode::FromKeeper, L1 is a keeper state and L2 is not, therefore L2 is the state where we want to raise the error
42 // whon mode != LookupMode::FromKeeper, L1 is not a keeper state, therefore L1 is the state where we want to raise the error 44 // whon mode != LookupMode::FromKeeper, L1 is not a keeper state, therefore L1 is the state where we want to raise the error
43 lua_State* getErrL() const { return (mode == LookupMode::FromKeeper) ? L2 : L1; } 45 lua_State* getErrL() const { return (mode == LookupMode::FromKeeper) ? L2 : L1; }
46 [[nodiscard]] std::string_view findLookupName() const;
44 47
45 // for use in copy_cached_func 48 // for use in copy_cached_func
46 void copy_func() const; 49 void copy_func() const;