diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-16 12:46:14 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-16 12:46:14 +0200 |
commit | d6f5a7795360e3c2a6fc2d424904b6daa1f2accd (patch) | |
tree | 8ac5f6c7076de45ec837d3b669ffc61f72bd4f5a /docs/index.html | |
parent | e7276bee137b87a2323b125a6a8c792de73819eb (diff) | |
download | lanes-d6f5a7795360e3c2a6fc2d424904b6daa1f2accd.tar.gz lanes-d6f5a7795360e3c2a6fc2d424904b6daa1f2accd.tar.bz2 lanes-d6f5a7795360e3c2a6fc2d424904b6daa1f2accd.zip |
C++ migration: more conversion to InterCopyContext. debugspew indentation is managed by a scope object
Diffstat (limited to '')
-rw-r--r-- | docs/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
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; | |||
1706 | Take a look at <tt>LindaFactory</tt> in <tt>linda.cpp</tt> or <tt>MyDeepFactory</tt> in <tt>deep_test.cpp</tt>. | 1706 | Take a look at <tt>LindaFactory</tt> in <tt>linda.cpp</tt> or <tt>MyDeepFactory</tt> in <tt>deep_test.cpp</tt>. |
1707 | </li> | 1707 | </li> |
1708 | <li>Include <tt>"deep.h"</tt> and either link against Lanes or statically compile <tt>compat.cpp deep.cpp tools.cpp universe.cpp</tt> into your module if you want to avoid a runtime dependency for users that will use your module without Lanes. | 1708 | <li>Include <tt>"deep.h"</tt> and either link against Lanes or statically compile <tt>compat.cpp deep.cpp tools.cpp universe.cpp</tt> into your module if you want to avoid a runtime dependency for users that will use your module without Lanes. |
1709 | <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> | 1709 | <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> |
1710 | <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li> | 1710 | <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li> |
1711 | </ol> | 1711 | </ol> |
1712 | 1712 | ||