summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Pall <mike>2014-06-13 11:16:39 +0200
committerMike Pall <mike>2014-06-13 11:16:39 +0200
commitbb5dfbb034a75e8a38ba918deb09db07b5989b73 (patch)
tree71a0d5366208afc2f6186cd6ee2a98413a75b2bb /doc
parent5e7b9bb8ed5bd8d7fa5263acc19e0869adc87d4c (diff)
downloadluajit2-bb5dfbb034a75e8a38ba918deb09db07b5989b73.tar.gz
Typo.
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 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&nbsp;functions like this:
</p>
<pre class="code">
-local <b>funca</b>, <b>funcb</b> = ffi.C.funcb, ffi.C.funcb -- <span style="color:#c00000;">Not helpful!</span>
+local <b>funca</b>, <b>funcb</b> = ffi.C.funca, ffi.C.funcb -- <span style="color:#c00000;">Not helpful!</span>
local function foo(x, n)
for i=1,n do <b>funcb</b>(<b>funca</b>(x, i), 1) end
end