aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ext_ffi_tutorial.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ext_ffi_tutorial.html b/doc/ext_ffi_tutorial.html
index f98c8de3..bb7ab554 100644
--- a/doc/ext_ffi_tutorial.html
+++ b/doc/ext_ffi_tutorial.html
@@ -566,7 +566,7 @@ Thus it's not helpful and actually counter-productive to cache
566individual C functions like this: 566individual C functions like this:
567</p> 567</p>
568<pre class="code"> 568<pre class="code">
569local <b>funca</b>, <b>funcb</b> = ffi.C.funcb, ffi.C.funcb -- <span style="color:#c00000;">Not helpful!</span> 569local <b>funca</b>, <b>funcb</b> = ffi.C.funca, ffi.C.funcb -- <span style="color:#c00000;">Not helpful!</span>
570local function foo(x, n) 570local function foo(x, n)
571 for i=1,n do <b>funcb</b>(<b>funca</b>(x, i), 1) end 571 for i=1,n do <b>funcb</b>(<b>funca</b>(x, i), 1) end
572end 572end