diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-05-08 16:40:38 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-05-08 16:40:38 +0000 |
commit | 3dc9b64560c53044e213ca8486c71c64265dfe37 (patch) | |
tree | ff445a8588defa1cbb31e02f932812aeecb39f8c /epan/wslua/wslua_pinfo.c | |
parent | ba2e20b5d80354f5125c85c6156b0902938cd140 (diff) |
Adjusted arguments used in Lua Pref.statictext()
Update Lua documentation:
- Fixed Pref.enum, Pref.range and Pref.statictext
- Fixed the equivalent comment for pinfo.cols
- Do not have a comment star (*) in the documentation
- Be consistent and start all sentences with a capital letter
svn path=/trunk/; revision=28304
Diffstat (limited to 'epan/wslua/wslua_pinfo.c')
-rw-r--r-- | epan/wslua/wslua_pinfo.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/wslua/wslua_pinfo.c b/epan/wslua/wslua_pinfo.c index 5e03867eae..9e012c71f4 100644 --- a/epan/wslua/wslua_pinfo.c +++ b/epan/wslua/wslua_pinfo.c @@ -79,7 +79,7 @@ WSLUA_CONSTRUCTOR Address_ip(lua_State* L) { SET_ADDRESS(addr, AT_IPv4, 4, ip_addr); pushAddress(L,addr); - WSLUA_RETURN(1); /* the Address object */ + WSLUA_RETURN(1); /* The Address object */ } #if 0 @@ -230,7 +230,7 @@ static int Address__gc(lua_State* L) { return 0; } -WSLUA_METAMETHOD Address__eq(lua_State* L) { /* compares two Addresses */ +WSLUA_METAMETHOD Address__eq(lua_State* L) { /* Compares two Addresses */ Address addr1 = checkAddress(L,1); Address addr2 = checkAddress(L,2); gboolean result = FALSE; @@ -243,7 +243,7 @@ WSLUA_METAMETHOD Address__eq(lua_State* L) { /* compares two Addresses */ return 1; } -WSLUA_METAMETHOD Address__le(lua_State* L) { /* compares two Addresses */ +WSLUA_METAMETHOD Address__le(lua_State* L) { /* Compares two Addresses */ Address addr1 = checkAddress(L,1); Address addr2 = checkAddress(L,2); gboolean result = FALSE; @@ -256,7 +256,7 @@ WSLUA_METAMETHOD Address__le(lua_State* L) { /* compares two Addresses */ return 1; } -WSLUA_METAMETHOD Address__lt(lua_State* L) { /* compares two Addresses */ +WSLUA_METAMETHOD Address__lt(lua_State* L) { /* Compares two Addresses */ Address addr1 = checkAddress(L,1); Address addr2 = checkAddress(L,2); gboolean result = FALSE; @@ -495,8 +495,8 @@ WSLUA_METAMETHOD Columns__tostring(lua_State *L) { WSLUA_METAMETHOD Columns__newindex(lua_State *L) { /* Sets the text of a specific column */ -#define WSLUA_ARG_Columns__newindex_COLUMN 2 /* the name of the column to set */ -#define WSLUA_ARG_Columns__newindex_TEXT 3 /* the text for the column */ +#define WSLUA_ARG_Columns__newindex_COLUMN 2 /* The name of the column to set */ +#define WSLUA_ARG_Columns__newindex_TEXT 3 /* The text for the column */ Columns cols = checkColumns(L,1); const struct col_names_t* cn; const char* colname; @@ -943,7 +943,7 @@ static const pinfo_method_t Pinfo_methods[] = { /* WSLUA_ATTRIBUTE Pinfo_columns RO Accesss to the packet list columns */ {"columns", Pinfo_columns, pushnil_param, PARAM_NONE }, - /* WSLUA_ATTRIBUTE Pinfo_cols RO Accesss to the packet list columns (equivalent to pinfo.cols) */ + /* WSLUA_ATTRIBUTE Pinfo_cols RO Accesss to the packet list columns (equivalent to pinfo.columns) */ {"cols", Pinfo_columns, pushnil_param, PARAM_NONE }, /* WSLUA_ATTRIBUTE Pinfo_desegment_len RW Estimated number of additional bytes required for completing the PDU */ |