From 72b3fff72f6bb9cf5796bbcd50e9a490d4e02b4b Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 23 Jan 2011 14:23:21 +0100 Subject: FFI: Simplify initializer rules. Clarify docs. --- doc/ext_ffi_semantics.html | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'doc/ext_ffi_semantics.html') diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html index 598d44c9..4a1b6c11 100644 --- a/doc/ext_ffi_semantics.html +++ b/doc/ext_ffi_semantics.html @@ -70,6 +70,47 @@ TODO TODO

+

Initializers

+

+Creating a cdata object with ffi.new() +or the equivalent constructor syntax always initializes its contents, +too. Different rules apply, depending on the number of optional +initializers and the C types involved: +

+ +

C Library Namespaces

A C library namespace is a special kind of object which allows -- cgit v1.2.3-55-g6feb