aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-07 11:17:39 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-07 11:17:39 +0200
commit35d7a6bb691d7e0564cda324b3d724caf4901545 (patch)
tree6fd253c64157a3f4dcf44658d4932a9f260bf0e3 /docs
parent867a65c0046848bc5e6867ae76f16db293ba4101 (diff)
downloadlanes-35d7a6bb691d7e0564cda324b3d724caf4901545.tar.gz
lanes-35d7a6bb691d7e0564cda324b3d724caf4901545.tar.bz2
lanes-35d7a6bb691d7e0564cda324b3d724caf4901545.zip
Use a precompiled header to speed up the build
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html
index e17c7db..b83c159 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1781,7 +1781,7 @@ static MyDeepFactory g_MyDeepFactory;
1781 </ul> 1781 </ul>
1782 Take a look at <tt>LindaFactory</tt> in <tt>lindafactory.cpp</tt> or <tt>MyDeepFactory</tt> in <tt>deep_test.cpp</tt>. 1782 Take a look at <tt>LindaFactory</tt> in <tt>lindafactory.cpp</tt> or <tt>MyDeepFactory</tt> in <tt>deep_test.cpp</tt>.
1783 </li> 1783 </li>
1784 <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. 1784 <li>Include <tt>"_pch.h", "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.
1785 <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> 1785 <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>
1786 <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li> 1786 <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li>
1787 <li>To push an existing proxy on the stack, use <tt>DeepPrelude::push(L)</tt>.</li> 1787 <li>To push an existing proxy on the stack, use <tt>DeepPrelude::push(L)</tt>.</li>