From 1013970853e6acfd60591a89ae08cc40c64bee06 Mon Sep 17 00:00:00 2001
From: Benoit Germain
Date: Tue, 14 May 2024 10:05:54 +0200
Subject: Moved Lane tracking implementation in a separate file
---
docs/index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'docs')
diff --git a/docs/index.html b/docs/index.html
index 3c9cbcf..713955f 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -70,7 +70,7 @@
- This document was revised on 9-Apr-24, and applies to version 4.0.0.
+ This document was revised on 15-May-24, and applies to version 4.0.0.
@@ -1723,7 +1723,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.
+ Include "deep.h" and either link against Lanes or statically compile compat.cpp deep.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.
Accessing the deep userdata from your C code, use yourFactoryObject.toDeep() instead of the regular lua_touserdata().
--
cgit v1.2.3-55-g6feb