]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Typo.
authorMike Pall <mike>
Fri, 13 Jun 2014 09:16:39 +0000 (11:16 +0200)
committerMike Pall <mike>
Fri, 13 Jun 2014 09:16:39 +0000 (11:16 +0200)
doc/ext_ffi_tutorial.html

index 01fb89929c4ab5a306994c9fab08af594e665e55..8e4eaf72826ed56ba1cdce920f881aefb3b5e340 100644 (file)
@@ -564,7 +564,7 @@ Thus it's not helpful and actually counter-productive to cache
 individual C&nbsp;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