FFI: Add support for copy constructors.

This commit is contained in:
Mike Pall
2012-10-08 17:14:18 +02:00
parent c681e009c0
commit da682b0e91
4 changed files with 10 additions and 6 deletions

View File

@@ -469,8 +469,9 @@ C&nbsp;type</a>.</li>
when a single initializer is given. Otherwise they are treated like
regular arrays.</li>
<li>Aggregate types (arrays and structs) accept either a single
<a href="#init_table">table initializer</a> or a flat list of
<li>Aggregate types (arrays and structs) accept either a single cdata
initializer of the same type (copy constructor), a single
<a href="#init_table">table initializer</a>, or a flat list of
initializers.</li>
<li>The elements of an array are initialized, starting at index zero.