From d6f5a7795360e3c2a6fc2d424904b6daa1f2accd Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 16 Apr 2024 12:46:14 +0200 Subject: C++ migration: more conversion to InterCopyContext. debugspew indentation is managed by a scope object --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 67eccd5..9b3e5e7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1706,7 +1706,7 @@ static MyDeepFactory g_MyDeepFactory; Take a look at LindaFactory in linda.cpp or MyDeepFactory in deep_test.cpp.
  • Include "deep.h" and either link against Lanes or statically compile compat.cpp deep.cpp tools.cpp universe.cpp into your module if you want to avoid a runtime dependency for users that will use your module without Lanes. -
  • Instanciate your userdata using yourFactoryObject.pushDeepUserdata()(), instead of the regular lua_newuserdata(). Given a factory, it sets up the support structures and returns a state-specific proxy userdata for accessing your data. This proxy can also be copied over to other lanes.
  • +
  • Instanciate your userdata using yourFactoryObject.pushDeepUserdata(), instead of the regular lua_newuserdata(). Given a factory, it sets up the support structures and returns a state-specific proxy userdata for accessing your data. This proxy can also be copied over to other lanes.
  • Accessing the deep userdata from your C code, use yourFactoryObject.toDeep() instead of the regular lua_touserdata().
  • -- cgit v1.2.3-55-g6feb