diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-01-27 02:33:21 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-01-27 02:33:21 +0000 |
commit | 3472c0fa677b37f93ff46dd0b3c9e3a1ce6fa4f5 (patch) | |
tree | 18024383e33bfe29622764f3ebfc1c33769841cf /epan/wslua/wslua_tvb.c | |
parent | a1d162d7ed86f281a9486b6cbb815b95f6bcb062 (diff) |
Fix docbook documentation
svn path=/trunk/; revision=20577
Diffstat (limited to 'epan/wslua/wslua_tvb.c')
-rw-r--r-- | epan/wslua/wslua_tvb.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/epan/wslua/wslua_tvb.c b/epan/wslua/wslua_tvb.c index dd053873be..309872395d 100644 --- a/epan/wslua/wslua_tvb.c +++ b/epan/wslua/wslua_tvb.c @@ -88,8 +88,8 @@ static int ByteArray_gc(lua_State* L) { WSLUA_METAMETHOD ByteArray__concat(lua_State* L) { /* concatenate two ByteArrays */ -#define WSLUA_ARG_ByteArray__cat_FIRST 1 -#define WSLUA_ARG_ByteArray__cat_SECOND 1 +#define WSLUA_ARG_ByteArray__cat_FIRST 1 /* first array */ +#define WSLUA_ARG_ByteArray__cat_SECOND 1 /* second array */ ByteArray ba = checkByteArray(L,1); ByteArray ba2 = checkByteArray(L,2); @@ -105,7 +105,7 @@ WSLUA_METAMETHOD ByteArray__concat(lua_State* L) { WSLUA_METHOD ByteArray_prepend(lua_State* L) { /* prepend a ByteArray to this ByteArray */ -#define WSLUA_ARG_ByteArray_prepend_PREPENDED 2 +#define WSLUA_ARG_ByteArray_prepend_PREPENDED 2 /* array to be prepended */ ByteArray ba = checkByteArray(L,1); ByteArray ba2 = checkByteArray(L,2); @@ -120,7 +120,7 @@ WSLUA_METHOD ByteArray_prepend(lua_State* L) { WSLUA_METHOD ByteArray_append(lua_State* L) { /* append a ByteArray to this ByteArray */ -#define WSLUA_ARG_ByteArray_append_APPENDED 2 +#define WSLUA_ARG_ByteArray_append_APPENDED 2 /* array to be appended */ ByteArray ba = checkByteArray(L,1); ByteArray ba2 = checkByteArray(L,2); @@ -135,7 +135,7 @@ WSLUA_METHOD ByteArray_append(lua_State* L) { WSLUA_METHOD ByteArray_set_size(lua_State* L) { /* Sets the size of a ByteArray, either truncating it or filling it with zeros. */ -#define WSLUA_ARG_ByteArray_set_size_SIZE 2 +#define WSLUA_ARG_ByteArray_set_size_SIZE 2 /* new size of the array*/ ByteArray ba = checkByteArray(L,1); int siz = luaL_checkint(L,2); @@ -430,12 +430,6 @@ WSLUA_METHOD Tvb_offset(lua_State* L) { #if USED_FOR_DOC_PURPOSES -WSLUA_METHOD Tvb_range(lua_State* L) { - /* creates a tvbr from this Tvb. This is used also as the Tvb:__call() metamethod. */ -#define WSLUA_OPTARG_Tvb_range_OFFSET 2 /* The offset (in octets) from the begining of the Tvb. Defaults to 0. */ -#define WSLUA_OPTARG_Tvb_range_LENGTH 2 /* The length (in octets) of the range. Defaults to until the end of the Tvb. */ - return 0; -} WSLUA_METAMETHOD Tvb__call(lua_State* L) { /* equivalent to tvb:range(...) */ return 0; |