aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/index.html b/docs/index.html
index f25463d..931a961 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -64,13 +64,13 @@
64 <font size="-1"> 64 <font size="-1">
65 <p> 65 <p>
66 <br> 66 <br>
67 <i>Copyright &copy; 2007-13 Asko Kauppi, Benoit Germain. All rights reserved.</i> 67 <i>Copyright &copy; 2007-14 Asko Kauppi, Benoit Germain. All rights reserved.</i>
68 <br> 68 <br>
69 Lua Lanes is published under the same <a href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a> as Lua 5.1 and 5.2. 69 Lua Lanes is published under the same <a href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a> as Lua 5.1 and 5.2.
70 </p> 70 </p>
71 71
72 <p> 72 <p>
73 This document was revised on 20-Dec-13, and applies to version <tt>3.7.5</tt>. 73 This document was revised on 06-Jan-14, and applies to version <tt>3.7.6</tt>.
74 </p> 74 </p>
75 </font> 75 </font>
76 </center> 76 </center>
@@ -356,13 +356,17 @@
356 </td> 356 </td>
357 <td> 357 <td>
358 If provided, will be called in every created Lua state (keepers and lanes) right after initializing the base libraries. 358 If provided, will be called in every created Lua state (keepers and lanes) right after initializing the base libraries.
359 <br> 359 <br/>
360 Typical usage is twofold: 360 Typical usage is twofold:
361 <ul> 361 <ul>
362 <li>Tweak <tt>package.loaders</tt></li> 362 <li>Tweak <tt>package.loaders</tt></li>
363 <li>Load some additional C functions in the global space (of course only a C function will be able to do this).</li> 363 <li>Load some additional C functions in the global space (of course only a C function will be able to do this).</li>
364 </ul> 364 </ul>
365 That way, all changes in the state can be properly taken into account when building the function lookup database. Default is <tt>nil</tt>. 365 That way, all changes in the state can be properly taken into account when building the function lookup database. Default is <tt>nil</tt>.
366 <br/>
367 (Since version 3.7.6) If <tt>on_state_create()</tt> is a Lua function, it will be transfered normally before the call.
368 <br/>
369 If it is a C function, a C closure will be reconstructed in the created state from the C pointer. Lanes will raise an error if the function has upvalues.
366 </td> 370 </td>
367 </tr> 371 </tr>
368 372