From da682b0e9184d4db7e8e477c682947d106790240 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 8 Oct 2012 17:14:18 +0200 Subject: FFI: Add support for copy constructors. --- doc/ext_ffi_semantics.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') 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. when a single initializer is given. Otherwise they are treated like regular arrays. -
  • Aggregate types (arrays and structs) accept either a single -table initializer or a flat list of +
  • Aggregate types (arrays and structs) accept either a single cdata +initializer of the same type (copy constructor), a single +table initializer, or a flat list of initializers.
  • The elements of an array are initialized, starting at index zero. -- cgit v1.2.3-55-g6feb