diff options
author | Mike Pall <mike> | 2012-10-08 17:14:18 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-10-08 17:15:28 +0200 |
commit | da682b0e9184d4db7e8e477c682947d106790240 (patch) | |
tree | ea38a32325107a9cb8047880712d13e6dd12fa5d /doc | |
parent | c681e009c0c5cba5622b863b914c19cfbf6cc147 (diff) | |
download | luajit-da682b0e9184d4db7e8e477c682947d106790240.tar.gz luajit-da682b0e9184d4db7e8e477c682947d106790240.tar.bz2 luajit-da682b0e9184d4db7e8e477c682947d106790240.zip |
FFI: Add support for copy constructors.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ext_ffi_semantics.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html index 56b3f62e..498bbbb4 100644 --- a/doc/ext_ffi_semantics.html +++ b/doc/ext_ffi_semantics.html | |||
@@ -469,8 +469,9 @@ C type</a>.</li> | |||
469 | when a single initializer is given. Otherwise they are treated like | 469 | when a single initializer is given. Otherwise they are treated like |
470 | regular arrays.</li> | 470 | regular arrays.</li> |
471 | 471 | ||
472 | <li>Aggregate types (arrays and structs) accept either a single | 472 | <li>Aggregate types (arrays and structs) accept either a single cdata |
473 | <a href="#init_table">table initializer</a> or a flat list of | 473 | initializer of the same type (copy constructor), a single |
474 | <a href="#init_table">table initializer</a>, or a flat list of | ||
474 | initializers.</li> | 475 | initializers.</li> |
475 | 476 | ||
476 | <li>The elements of an array are initialized, starting at index zero. | 477 | <li>The elements of an array are initialized, starting at index zero. |