diff options
author | Mike Pall <mike> | 2014-06-13 11:16:47 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2014-06-13 11:16:47 +0200 |
commit | ccd456af73c7fa98ca0e6fd0fd11c381689f59e7 (patch) | |
tree | be93b494a7829f8f2c00a624a6884f26daabfaef /doc | |
parent | 89f61de5172a348a289b4d0430422ccba2c2cc3d (diff) | |
parent | bb5dfbb034a75e8a38ba918deb09db07b5989b73 (diff) | |
download | luajit-ccd456af73c7fa98ca0e6fd0fd11c381689f59e7.tar.gz luajit-ccd456af73c7fa98ca0e6fd0fd11c381689f59e7.tar.bz2 luajit-ccd456af73c7fa98ca0e6fd0fd11c381689f59e7.zip |
Merge branch 'master' into v2.1
Diffstat (limited to 'doc')
-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 |