diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-12-23 15:53:13 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-12-23 15:53:13 +0000 |
commit | 8ab9c55618a99417b4972f37ab3ee7da58cca0cf (patch) | |
tree | 24e3464ee075e7289b2ad4a7e554b251e6355e0b /doc/README.wslua | |
parent | eecbfd1f3bf613704c043f79543eb5133a046f1d (diff) | |
download | wireshark-8ab9c55618a99417b4972f37ab3ee7da58cca0cf.tar.gz |
From Ville Skyttä: Spelling Fixes
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9591
svn path=/trunk/; revision=54387
Diffstat (limited to 'doc/README.wslua')
-rw-r--r-- | doc/README.wslua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/README.wslua b/doc/README.wslua index 4deb39682d..0d2fce759f 100644 --- a/doc/README.wslua +++ b/doc/README.wslua @@ -129,7 +129,7 @@ the former __index/__newindex metamethod model does not. Both models are fairly common in Lua APIs, although having a mixture of both in the same API probably isn't. There is even a third model in use: pre-loading the member fields of the class table with the values, instead of waiting for the Lua -script to access a particular one to retrieve it; for exmaple the Listener tap +script to access a particular one to retrieve it; for example the Listener tap extractors table is pre-populated (see files 'wslua_listener.c' and 'taps' which through the make-taps.pl perl script creates 'taps_wslua.c'). The downside of that approach is the performance impact, filling fields the Lua @@ -392,7 +392,7 @@ Example: WSLUA_ERROR - this C macro takes arguments, and expands to call luaL_error() using them, and returns 0. The arguments it takes is the full function name and a string describing the error. For documentation, it uses the string -arguement and displays it with the function it's associated to. +argument and displays it with the function it's associated to. Example: if (!wtap_dump_can_write_encap(filetype, encap)) |