]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
FFI: Clarify ffi.cdef behavior.
authorMike Pall <mike>
Sat, 16 Nov 2013 17:28:21 +0000 (18:28 +0100)
committerMike Pall <mike>
Sat, 16 Nov 2013 17:28:21 +0000 (18:28 +0100)
doc/ext_ffi_semantics.html

index 03229012ed57a8766b7b9bd63d1ebaea5a9b730e..57839b16fec34ce9feaef45264595e3149b04fad 100644 (file)
@@ -1188,7 +1188,9 @@ storing and initializing them are supported, yet.</li>
 <li>The <tt>volatile</tt> type qualifier is currently ignored by
 compiled code.</li>
 <li><a href="ext_ffi_api.html#ffi_cdef"><tt>ffi.cdef</tt></a> silently
-ignores all re-declarations.</li>
+ignores most re-declarations. Note: avoid re-declarations which do not
+conform to C99. The implementation will eventually be changed to
+perform strict checks.</li>
 </ul>
 <p>
 The JIT compiler already handles a large subset of all FFI operations.