diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-18 14:06:07 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-18 14:06:07 +0200 |
commit | 271ce5cff2b5e9c1e4d4f236c731ceb263716681 (patch) | |
tree | f26ae0570b0442938fbe08ca4542e8ca8f92504a /docs | |
parent | 6b6e7827362b3d56cd588a76ef9d3bd6baec52f1 (diff) | |
download | lanes-271ce5cff2b5e9c1e4d4f236c731ceb263716681.tar.gz lanes-271ce5cff2b5e9c1e4d4f236c731ceb263716681.tar.bz2 lanes-271ce5cff2b5e9c1e4d4f236c731ceb263716681.zip |
Give a chance to config.allocator to provide a specific allocator for internal stuff
Diffstat (limited to 'docs')
-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 4a9fc35..ca91273 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -289,7 +289,7 @@ | |||
289 | <td> | 289 | <td> |
290 | If <tt>nil</tt>, Lua states are created with <tt>lua_newstate()</tt> and reuse the allocator from the master state.<br /> | 290 | If <tt>nil</tt>, Lua states are created with <tt>lua_newstate()</tt> and reuse the allocator from the master state.<br /> |
291 | If <tt>"protected"</tt>, The default allocator obtained from <tt>lua_getallocf()</tt> in the master state is wrapped inside a critical section and used in all newly created states.<br /> | 291 | If <tt>"protected"</tt>, The default allocator obtained from <tt>lua_getallocf()</tt> in the master state is wrapped inside a critical section and used in all newly created states.<br /> |
292 | If a <tt>function</tt>, this function is called prior to creating the state, with a single string argument, either <tt>"keeper"</tt> or <tt>"lane"</tt>. It should return a full userdata created as follows: | 292 | If a <tt>function</tt>, this function is called prior to creating the state, with a single string argument, either <tt>"internal"</tt>, <tt>"keeper"</tt> or <tt>"lane"</tt>. It should return a full userdata created as follows: |
293 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"> | 293 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"> |
294 | <tr> | 294 | <tr> |
295 | <td> | 295 | <td> |