aboutsummaryrefslogtreecommitdiff
path: root/src/deep.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-04-26 12:02:49 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-04-26 12:02:49 +0200
commit8aff7818754d24e230a22220db1ed834487d0559 (patch)
tree628d0d38057421bfde8dd6226e121b4336c9cf87 /src/deep.h
parent8508f12ab2f84ecc4472254564b4585d697b5778 (diff)
downloadlanes-8aff7818754d24e230a22220db1ed834487d0559.tar.gz
lanes-8aff7818754d24e230a22220db1ed834487d0559.tar.bz2
lanes-8aff7818754d24e230a22220db1ed834487d0559.zip
Move LindaFactory in separate files
Diffstat (limited to 'src/deep.h')
-rw-r--r--src/deep.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/deep.h b/src/deep.h
index 673e93a..45f7841 100644
--- a/src/deep.h
+++ b/src/deep.h
@@ -2,7 +2,7 @@
2 2
3/* 3/*
4 * public 'deep' API to be used by external modules if they want to implement Lanes-aware userdata 4 * public 'deep' API to be used by external modules if they want to implement Lanes-aware userdata
5 * said modules will have to link against lanes (it is not really possible to separate the 'deep userdata' implementation from the rest of Lanes) 5 * said modules can either link against lanes, or embed compat.cpp/h deep.cpp/h tools.cpp/h universe.cpp/h
6 */ 6 */
7 7
8#ifdef __cplusplus 8#ifdef __cplusplus
@@ -69,16 +69,16 @@ class DeepFactory
69 private: 69 private:
70 70
71 // NVI: private overrides 71 // NVI: private overrides
72 virtual DeepPrelude* newDeepObjectInternal(lua_State* L) const = 0; 72 virtual DeepPrelude* newDeepObjectInternal(lua_State* L_) const = 0;
73 virtual void deleteDeepObjectInternal(lua_State* L, DeepPrelude* o_) const = 0; 73 virtual void deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const = 0;
74 virtual void createMetatable(lua_State* L) const = 0; 74 virtual void createMetatable(lua_State* L_) const = 0;
75 virtual char const* moduleName() const = 0; 75 virtual char const* moduleName() const = 0;
76 76
77 public: 77 public:
78 78
79 // NVI: public interface 79 // NVI: public interface
80 int pushDeepUserdata(DestState L, int nuv_) const; 80 int pushDeepUserdata(DestState L_, int nuv_) const;
81 DeepPrelude* toDeep(lua_State* L, int index) const; 81 DeepPrelude* toDeep(lua_State* L_, int index_) const;
82 static void DeleteDeepObject(lua_State* L, DeepPrelude* o_); 82 static void DeleteDeepObject(lua_State* L_, DeepPrelude* o_);
83 static char const* PushDeepProxy(DestState L, DeepPrelude* prelude, int nuv_, LookupMode mode_); 83 static char const* PushDeepProxy(DestState L_, DeepPrelude* o_, int nuv_, LookupMode mode_);
84}; 84};