+Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
+ Doc fixes.
+
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.[ch]: Add g_build_path(),
+Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
+ Doc fixes.
+
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.[ch]: Add g_build_path(),
+Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
+ Doc fixes.
+
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.[ch]: Add g_build_path(),
+Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
+ Doc fixes.
+
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.[ch]: Add g_build_path(),
+Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
+ Doc fixes.
+
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.[ch]: Add g_build_path(),
+Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
+ Doc fixes.
+
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.[ch]: Add g_build_path(),
+Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
+ Doc fixes.
+
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.[ch]: Add g_build_path(),
+Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
+ Doc fixes.
+
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.[ch]: Add g_build_path(),
* g_build_path:
* @separator: a string used to separator the elements of the path.
* @first_element: the first element in the path
+ * @Varargs: remaining elements in path
*
* Create a path from a series of elements using @separator as the
* separator between elements. At the boundary between two elements,
/**
* g_build_filename:
* @first_element: the first element in the path
+ * @Varargs: remaining elements in path
*
* Create a filename from a series of elements using the correct
* separator for filenames. This function behaves identically
/**
* g_main_context_ref:
- * @loop: a #GMainContext
+ * @context: a #GMainContext
*
* Increases the reference count on a #GMainContext object by one.
**/
/**
* g_main_context_unref:
- * @loop: a #GMainContext
+ * @context: a #GMainContext
*
* Decreases the reference count on a #GMainContext object by one. If
* the result is zero, free the context and free all associated memory.
/**
* g_string_set_size:
- * @fstring: a #GString
+ * @string: a #GString
* @len: the new length
*
* Sets the length of a #GString. If the length is less than
* Return value: @fstring
**/
GString*
-g_string_set_size (GString *fstring,
+g_string_set_size (GString *string,
gsize len)
{
- GRealString *string = (GRealString *) fstring;
+ GRealString *rstring = (GRealString *) string;
g_return_val_if_fail (string != NULL, NULL);
- if (len >= string->allocated_len)
- g_string_maybe_expand (string, len - fstring->len);
+ if (len >= rstring->allocated_len)
+ g_string_maybe_expand (rstring, len - string->len);
- string->len = len;
- string->str[len] = 0;
+ rstring->len = len;
+ rstring->str[len] = 0;
- return fstring;
+ return string;
}
GString*
/**
* g_utf8_strchr:
* @p: a nul-terminated utf-8 string
- * @p_len: the maximum length of p
+ * @len: the maximum length of p
* @c: a iso-10646 character
*
* Find the leftmost occurence of the given iso-10646 character
**/
gchar *
g_utf8_strchr (const char *p,
- gssize p_len,
+ gssize len,
gunichar c)
{
gchar ch[10];
- gint len = g_unichar_to_utf8 (c, ch);
- ch[len] = '\0';
+ gint charlen = g_unichar_to_utf8 (c, ch);
+ ch[charlen] = '\0';
- return g_strstr_len (p, p_len, ch);
+ return g_strstr_len (p, len, ch);
}
/**
* g_utf8_strrchr:
* @p: a nul-terminated utf-8 string
- * @p_len: the maximum length of p
+ * @len: the maximum length of p
* @c: a iso-10646 character/
*
* Find the rightmost occurence of the given iso-10646 character
**/
gchar *
g_utf8_strrchr (const char *p,
- gssize p_len,
+ gssize len,
gunichar c)
{
gchar ch[10];
- gint len = g_unichar_to_utf8 (c, ch);
- ch[len] = '\0';
+ gint charlen = g_unichar_to_utf8 (c, ch);
+ ch[charlen] = '\0';
- return g_strrstr_len (p, p_len, ch);
+ return g_strrstr_len (p, len, ch);
}