瀏覽代碼

FFI: Clarify ffi.cdef behavior.

Mike Pall 12 年之前
父節點
當前提交
db64b2b1ed
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      doc/ext_ffi_semantics.html

+ 3 - 1
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.