diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-14 10:05:54 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-14 10:05:54 +0200 |
commit | 1013970853e6acfd60591a89ae08cc40c64bee06 (patch) | |
tree | 7ca081e6adcecebc41e68a659741e0cc0caf77eb /docs/index.html | |
parent | 0567dc0fc6da09467f65ee2f3c10ab68bb76832c (diff) | |
download | lanes-1013970853e6acfd60591a89ae08cc40c64bee06.tar.gz lanes-1013970853e6acfd60591a89ae08cc40c64bee06.tar.bz2 lanes-1013970853e6acfd60591a89ae08cc40c64bee06.zip |
Moved Lane tracking implementation in a separate file
Diffstat (limited to 'docs/index.html')
-rw-r--r-- | docs/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
70 | </p> | 70 | </p> |
71 | 71 | ||
72 | <p> | 72 | <p> |
73 | This document was revised on 9-Apr-24, and applies to version <tt>4.0.0</tt>. | 73 | This document was revised on 15-May-24, and applies to version <tt>4.0.0</tt>. |
74 | </p> | 74 | </p> |
75 | </font> | 75 | </font> |
76 | </center> | 76 | </center> |
@@ -1723,7 +1723,7 @@ static MyDeepFactory g_MyDeepFactory; | |||
1723 | </ul> | 1723 | </ul> |
1724 | Take a look at <tt>LindaFactory</tt> in <tt>linda.cpp</tt> or <tt>MyDeepFactory</tt> in <tt>deep_test.cpp</tt>. | 1724 | Take a look at <tt>LindaFactory</tt> in <tt>linda.cpp</tt> or <tt>MyDeepFactory</tt> in <tt>deep_test.cpp</tt>. |
1725 | </li> | 1725 | </li> |
1726 | <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. | 1726 | <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. |
1727 | <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> | 1727 | <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> |
1728 | <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li> | 1728 | <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li> |
1729 | </ol> | 1729 | </ol> |