aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-10-31 20:02:42 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-10-31 20:02:42 +0000
commitec8b88f9475e332402880d9d8dd51e35843a4a6a (patch)
tree4304733c82083f3b803f6f610528e72bf71dbc52
parent6f1b59c130492e3d73259f776a54398390614bbd (diff)
Document the new lua functions.
svn path=/trunk/; revision=26660
-rw-r--r--epan/wslua/wslua_tvb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/wslua/wslua_tvb.c b/epan/wslua/wslua_tvb.c
index 447c7d9e79..188587ed3b 100644
--- a/epan/wslua/wslua_tvb.c
+++ b/epan/wslua/wslua_tvb.c
@@ -865,6 +865,7 @@ WSLUA_METHOD TvbRange_bytes(lua_State* L) {
}
WSLUA_METHOD TvbRange_len(lua_State* L) {
+ /* obtain the length of a TvbRange */
TvbRange tvbr = checkTvbRange(L,1);
if (!(tvbr && tvbr->tvb)) return 0;
@@ -877,6 +878,7 @@ WSLUA_METHOD TvbRange_len(lua_State* L) {
}
WSLUA_METHOD TvbRange_offset(lua_State* L) {
+ /* obtain the offset in a TvbRange */
TvbRange tvbr = checkTvbRange(L,1);
if (!(tvbr && tvbr->tvb)) return 0;