From bb5dfbb034a75e8a38ba918deb09db07b5989b73 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 13 Jun 2014 11:16:39 +0200 Subject: [PATCH] Typo. --- doc/ext_ffi_tutorial.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ext_ffi_tutorial.html b/doc/ext_ffi_tutorial.html index 01fb8992..8e4eaf72 100644 --- a/doc/ext_ffi_tutorial.html +++ b/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:

-local funca, funcb = ffi.C.funcb, ffi.C.funcb -- Not helpful!
+local funca, funcb = ffi.C.funca, ffi.C.funcb -- Not helpful!
 local function foo(x, n)
   for i=1,n do funcb(funca(x, i), 1) end
 end