diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-12-22 05:48:57 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-12-22 05:48:57 +0000 |
commit | 74cb1d2b46fe031214b976e62069dcec6cfb8ec6 (patch) | |
tree | a906e7958e2150d942ee95190cf03de317ba750e /epan/wslua/wslua_tvb.c | |
parent | 98393c2355e2993e11d71065cfa4856dfa912e04 (diff) |
- Fix the name of the disable_lua variable.
== improve documentation
make-doc.pl ( make doc ) generates an almost complete reference manual.
svn path=/trunk/; revision=20192
Diffstat (limited to 'epan/wslua/wslua_tvb.c')
-rw-r--r-- | epan/wslua/wslua_tvb.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/wslua/wslua_tvb.c b/epan/wslua/wslua_tvb.c index 490ba11170..6de754904b 100644 --- a/epan/wslua/wslua_tvb.c +++ b/epan/wslua/wslua_tvb.c @@ -436,7 +436,14 @@ static const luaL_reg Tvb_methods[] = { }; static int Tvb_range(lua_State* L); - +#if USED_FOR_DOC_PURPOSES +WSLUA_METAMETHOD Tvb__call(lua_State* L) { + /* equivalent to tvb:range(...) */ + return 0 +} +#endif + + */ static const luaL_reg Tvb_meta[] = { {"__call", Tvb_range}, {"__tostring", Tvb__tostring}, |