diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-06-23 10:28:53 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-06-23 10:28:53 +0000 |
commit | 6df263d63495cbb71d6cba53d9b6674c21377273 (patch) | |
tree | 8d86342b837359ea51f0d5e3b54502bdc146eded /epan | |
parent | beca9ba57a02e66b780a8b23ca9955f642065179 (diff) |
Rename Tvb_tvb to TvbRange_tvb, as it's a TvbRange function.
Documentation is generated from code.
This fixes bug 5006.
svn path=/trunk/; revision=37760
Diffstat (limited to 'epan')
-rw-r--r-- | epan/wslua/wslua_tvb.c | 4 |
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 } }; |