Mike Pall 11 年之前
父节点
当前提交
bb5dfbb034
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/ext_ffi_tutorial.html

+ 1 - 1
doc/ext_ffi_tutorial.html

@@ -564,7 +564,7 @@ Thus it's not helpful and actually counter-productive to cache
 individual C functions like this:
 </p>
 <pre class="code">
-local <b>funca</b>, <b>funcb</b> = ffi.C.funcb, ffi.C.funcb -- <span style="color:#c00000;">Not helpful!</span>
+local <b>funca</b>, <b>funcb</b> = ffi.C.funca, ffi.C.funcb -- <span style="color:#c00000;">Not helpful!</span>
 local function foo(x, n)
   for i=1,n do <b>funcb</b>(<b>funca</b>(x, i), 1) end
 end