aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-23 10:28:53 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-23 10:28:53 +0000
commit87f94b59c714a2d65825a8a31652f2d69e9b6ad0 (patch)
tree8d86342b837359ea51f0d5e3b54502bdc146eded /epan
parente478a9cfaa7df7ea8011ddc7b4b34b5228efb4b8 (diff)
Rename Tvb_tvb to TvbRange_tvb, as it's a TvbRange function.
Documentation is generated from code. This fixes bug 5006. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37760 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r--epan/wslua/wslua_tvb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_tvb.c b/epan/wslua/wslua_tvb.c
index 254a1c01c0..161a49668a 100644
--- a/epan/wslua/wslua_tvb.c
+++ b/epan/wslua/wslua_tvb.c
@@ -394,7 +394,7 @@ WSLUA_CONSTRUCTOR Tvb_new_real (lua_State *L) {
WSLUA_RETURN(1); /* The created Tvb. */
}
-WSLUA_CONSTRUCTOR Tvb_tvb (lua_State *L) {
+WSLUA_CONSTRUCTOR TvbRange_tvb (lua_State *L) {
/* Creates a (sub)Tvb from using a TvbRange */
#define WSLUA_ARG_Tvb_new_subset_RANGE 1 /* The TvbRange from which to create the new Tvb. */
@@ -1147,7 +1147,7 @@ static const luaL_reg TvbRange_methods[] = {
{"range", TvbRange_range},
{"len", TvbRange_len},
{"offset", TvbRange_offset},
- {"tvb", Tvb_tvb},
+ {"tvb", TvbRange_tvb},
{ NULL, NULL }
};