aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Pall <mike>2014-06-13 11:16:47 +0200
committerMike Pall <mike>2014-06-13 11:16:47 +0200
commitccd456af73c7fa98ca0e6fd0fd11c381689f59e7 (patch)
treebe93b494a7829f8f2c00a624a6884f26daabfaef /doc
parent89f61de5172a348a289b4d0430422ccba2c2cc3d (diff)
parentbb5dfbb034a75e8a38ba918deb09db07b5989b73 (diff)
downloadluajit-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.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&nbsp;functions like this: 566individual C&nbsp;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