diff --git a/doc/README.developer b/doc/README.developer index fbea07c725..70870b05c1 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -1172,7 +1172,7 @@ guint8* tvb_get_ptr(tvbuff_t*, gint offset, gint length); The reason that tvb_get_ptr() might have to allocate a copy of its data only occurs with TVBUFF_COMPOSITES, data that spans multiple tvbuffers. -If the user requests a pointer to a range of bytes that spans the member +If the user requests a pointer to a range of bytes that span the member tvbuffs that make up the TVBUFF_COMPOSITE, the data will have to be copied to another memory region to assure that all the bytes are contiguous. @@ -1346,7 +1346,7 @@ fence does not already exist. 1.5.9 The col_set_time function. -The 'col_set_time' function takes a nstime value as it's third argument. +The 'col_set_time' function takes an nstime value as its third argument. This nstime value is a relative value and will be added as such to the column. The fourth argument is the filtername holding this value. This way, rightclicking on the column makes it possible to build a filter @@ -1458,7 +1458,7 @@ Here is how the frame "protocol" is registered. /* abbrev */ "frame" ); A header field is also registered with its name and abbreviation, but -information about the its data type is needed. It helps to look at +information about its data type is needed. It helps to look at the header_field_info struct to see what information is expected: struct header_field_info { @@ -1571,7 +1571,7 @@ to represent the number. display ------- The display field has a couple of overloaded uses. This is unfortunate, -but since we're C as an application programming language, this sometimes +but since we're using C as an application programming language, this sometimes makes for cleaner programs. Right now I still think that overloading this variable was okay. @@ -1587,7 +1587,7 @@ are: BASE_DEC, BASE_HEX, and BASE_OCT are decimal, hexadecimal, and octal, respectively. BASE_DEC_HEX and BASE_HEX_DEC display value in two bases -(the 1st representation followed by the 2nd in parenthesis) +(the 1st representation followed by the 2nd in parenthesis). For FT_BOOLEAN fields that are also bitfields, 'display' is used to tell the proto_tree how wide the parent bitfield is. With integers this is @@ -2141,7 +2141,7 @@ won't be seen unless the user opens the subtree--but they can be found if the user wants. NOTE, too, that all of the proto_tree_add_*_hidden() APIs are deprecated: -instead of using them, use add the item using proto_tree_add_item() and then +instead of using them, add the item using proto_tree_add_item() and then make it hidden using PROTO_ITEM_SET_HIDDEN(). One use for hidden fields (which would be better implemented using visible @@ -2411,11 +2411,11 @@ after the "type" and "value" fields have been extracted and dissected.