aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-03 15:53:34 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-03 15:53:34 +0200
commit44c617f7b756052c7cd059c96f89b85f0f5ec96c (patch)
treea9ac504d7ffa09500c9ea17bab963f1016f6fe79 /docs
parent420e50697cd036a0d8ea1601961bd6974703ade1 (diff)
downloadlanes-44c617f7b756052c7cd059c96f89b85f0f5ec96c.tar.gz
lanes-44c617f7b756052c7cd059c96f89b85f0f5ec96c.tar.bz2
lanes-44c617f7b756052c7cd059c96f89b85f0f5ec96c.zip
Moved lanes.sleep implementation to the C-side
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/index.html b/docs/index.html
index 98c2abb..c3e8285 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1767,6 +1767,7 @@ static MyDeepFactory g_MyDeepFactory;
1767 <li>Include <tt>"deep.h"</tt> and either link against Lanes or statically compile <tt>compat.cpp deep.cpp</tt> into your module if you want to avoid a runtime dependency for users that will use your module without Lanes. 1767 <li>Include <tt>"deep.h"</tt> and either link against Lanes or statically compile <tt>compat.cpp deep.cpp</tt> into your module if you want to avoid a runtime dependency for users that will use your module without Lanes.
1768 <li>Instanciate your userdata using <tt>yourFactoryObject.pushDeepUserdata()</tt>, instead of the regular <tt>lua_newuserdata()</tt>. Given a <tt>factory</tt>, 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.</li> 1768 <li>Instanciate your userdata using <tt>yourFactoryObject.pushDeepUserdata()</tt>, instead of the regular <tt>lua_newuserdata()</tt>. Given a <tt>factory</tt>, 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.</li>
1769 <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li> 1769 <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li>
1770 <li>To push an existing proxy on the stack, use <tt>DeepPrelude::push(L)</tt>.</li>
1770</ol> 1771</ol>
1771 1772
1772<p> 1773<p>