diff options
-rw-r--r-- | doc/ext_ffi_tutorial.html | 2 |
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 | |||
566 | individual C functions like this: | 566 | individual C functions like this: |
567 | </p> | 567 | </p> |
568 | <pre class="code"> | 568 | <pre class="code"> |
569 | local <b>funca</b>, <b>funcb</b> = ffi.C.funcb, ffi.C.funcb -- <span style="color:#c00000;">Not helpful!</span> | 569 | local <b>funca</b>, <b>funcb</b> = ffi.C.funca, ffi.C.funcb -- <span style="color:#c00000;">Not helpful!</span> |
570 | local function foo(x, n) | 570 | local 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 |
572 | end | 572 | end |