summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Pall <mike>2013-11-16 18:28:21 +0100
committerMike Pall <mike>2013-11-16 18:28:21 +0100
commitdb64b2b1edbb07055d450df168c360fedb5598a7 (patch)
treed7cd9b7f16851d1300d5ebf9129a9449b4d2d760 /doc
parent5a25a735f589d6fafbaa3c234c59fbfe8920a102 (diff)
downloadluajit2-db64b2b1edbb07055d450df168c360fedb5598a7.tar.gz
FFI: Clarify ffi.cdef behavior.
Diffstat (limited to 'doc')
-rw-r--r--doc/ext_ffi_semantics.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html
index 03229012..57839b16 100644
--- a/doc/ext_ffi_semantics.html
+++ b/doc/ext_ffi_semantics.html
@@ -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.