From 543963146041b8383171fa267fab351acdf50d35 Mon Sep 17 00:00:00 2001
From: Mike Pall
Date: Thu, 19 Apr 2012 15:19:41 +0200
Subject: [PATCH] FFI: Clarify docs wrt. 'local ffi = ...' and the interactive
prompt.
---
doc/ext_ffi_tutorial.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/ext_ffi_tutorial.html b/doc/ext_ffi_tutorial.html
index 802a2041..533273f7 100644
--- a/doc/ext_ffi_tutorial.html
+++ b/doc/ext_ffi_tutorial.html
@@ -93,6 +93,11 @@ Please note this doesn't define an ffi variable in the table
of globals — you really need to use the local variable. The
require function ensures the library is only loaded once.
+
+Note: If you want to experiment with the FFI from the interactive prompt
+of the command line executable, omit the local, as it doesn't
+preserve local variables across lines.
+
Accessing Standard System Functions