Improve docs
authorMatthias Clasen <matthiasc@src.gnome.org>
Sun, 11 Jan 2009 04:58:25 +0000 (04:58 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 11 Jan 2009 04:58:25 +0000 (04:58 +0000)
svn path=/trunk/; revision=7802

ChangeLog
glib/gregex.c

index 9ab43bf58dea0ea04ac1ce7a6216ab6c2ac8bf92..e58ffbdc647a3cf621f862fe3ab147dc2197c5b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-01-10  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 566573 – g_match_info_fetch_pos docs
+
+       * glib/gregex.c: Mention that positions are in bytes. 
+       Proposed by Christian Persch.
+
 2009-01-10  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 566569 – gregex docs clarification
index 6ad873a0a59cffa8b3d302051fb102c2260bb6ba..ba9174af30c2755337d8603d18bb1dd8b2b1b225 100644 (file)
@@ -794,7 +794,7 @@ g_match_info_fetch (const GMatchInfo *match_info,
  * @start_pos: pointer to location where to store the start position
  * @end_pos: pointer to location where to store the end position
  *
- * Retrieves the position of the @match_num<!-- -->'th capturing 
+ * Retrieves the position in bytes of the @match_num<!-- -->'th capturing 
  * parentheses. 0 is the full text of the match, 1 is the first 
  * paren set, 2 the second, and so on.
  *
@@ -917,7 +917,7 @@ g_match_info_fetch_named (const GMatchInfo *match_info,
  * @start_pos: pointer to location where to store the start position
  * @end_pos: pointer to location where to store the end position
  *
- * Retrieves the position of the capturing parentheses named @name.
+ * Retrieves the position in bytes of the capturing parentheses named @name.
  *
  * If @name is a valid sub pattern name but it didn't match anything 
  * (e.g. sub pattern "X", matching "b" against "(?P&lt;X&gt;a)?b")