summaryrefslogtreecommitdiff
path: root/doc/README.wslua
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-08-05 22:00:05 +0200
committerMichael Mann <mmann78@netscape.net>2016-08-06 00:31:23 +0000
commit37649c4d0f0e3c87308687f9000dbe9f627594de (patch)
treed5eb0af6ce0434280fb47298a80d3f2943f19f28 /doc/README.wslua
parentd1847f0b490302f671133b770efd475f7b209971 (diff)
downloadwireshark-37649c4d0f0e3c87308687f9000dbe9f627594de.tar.gz
doc: fix typos.
Change-Id: Id34affcb33c00e224dafbccc347b1d91b9e74c8d Reviewed-on: https://code.wireshark.org/review/16914 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'doc/README.wslua')
-rw-r--r--doc/README.wslua6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/README.wslua b/doc/README.wslua
index 7eea198165..acb372c7f2 100644
--- a/doc/README.wslua
+++ b/doc/README.wslua
@@ -227,7 +227,7 @@ for each event type, instead of a single register() with the event as an
argument. For example there's a register_postdissector() function. In some
cases the Lua functions are invoked based on a pre-defined function-name model
instead of explicit register_foo(), whereby a C-object looks for a defined
-member variable in the Registry that repesents a Lua function created by the
+member variable in the Registry that represents a Lua function created by the
plugin. This would be the case if the Lua plugin had defined a pre-defined
member key of its object's table in Lua, for that purpose. For example if the
Lua plugin sets the 'reset' member of the Listener object table to a function,
@@ -456,7 +456,7 @@ Example:
WSLUA_MOREARGS - a documentation-only macro used to document that more
arguments are expected/supported. This is useful when the number of
-argumeents is not fixed, i.e., a vararg model. The macro is followed by the
+arguments is not fixed, i.e., a vararg model. The macro is followed by the
name of the function it's an argument for (without the 'wslua_' prefix if the
function is a WSLUA_FUNCTION type), and then followed by descriptive text.
@@ -470,7 +470,7 @@ Example:
WSLUA_RETURN - a macro with parentheses containing the number of return
-values, meaning the number of items pushed back to Lua. Lua supports mutliple
+values, meaning the number of items pushed back to Lua. Lua supports multiple
return values, although Wireshark usually just returns 0 or 1 value. The
argument can be an integer or a variable of the integer, and is not actually
documented. The API documentation will use the comments after this macro for