* glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
* glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
* glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
* glib/tmpl/main.sgml: Write something about GSourceDummyMarshal.
* glib/tmpl/date.sgml:
* glib/tmpl/string_utils.sgml: Remove redundant docs.
* glib/glib-sections.txt: Add g_ascii_strtoull and
g_get_application_name.
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
+
+ * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
+
+ * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c:
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
+
+ * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
+
+ * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c:
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
+
+ * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
+
+ * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c:
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
+
+ * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
+
+ * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c:
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
+
+ * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
+
+ * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c:
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
+
+ * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
+
+ * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c:
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
+
+ * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
+
+ * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c:
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * glib/tmpl/main.sgml: Write something about GSourceDummyMarshal.
+
+ * glib/tmpl/date.sgml:
+ * glib/tmpl/string_utils.sgml: Remove redundant docs.
+
+ * glib/glib-sections.txt: Add g_ascii_strtoull and
+ g_get_application_name.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/strings.sgml:
g_strreverse
<SUBSECTION>
+g_ascii_strtoull
G_ASCII_DTOSTR_BUF_SIZE
g_ascii_strtod
g_ascii_dtostr
<SECTION>
<TITLE>Miscellaneous Utility Functions</TITLE>
<FILE>misc_utils</FILE>
+g_get_application_name
g_get_prgname
g_set_prgname
g_getenv
<!-- ##### FUNCTION g_get_current_time ##### -->
<para>
-Equivalent to <function>gettimeofday()</function>, but also works on
-Win32. Returns the current time.
</para>
@result:
<!-- ##### USER_FUNCTION GSourceDummyMarshal ##### -->
<para>
-
+This is just a placeholder for #GClosureMarshal, which cannot be used here
+for dependency reasons.
</para>
</para>
+<!-- ##### FUNCTION g_get_application_name ##### -->
+<para>
+
+</para>
+
+@Returns:
+
+
<!-- ##### FUNCTION g_get_prgname ##### -->
<para>
Gets the name of the program. This name should NOT be localized,
<!-- ##### FUNCTION g_strdupv ##### -->
<para>
-Copies a %NULL-terminated array of strings. The result consists of a
-%NULL-terminated array, with one malloc block holding the array of strings, and
-each string itself allocated. The simplest way to free the result is with
-g_strfreev() which frees each string in a vector, then the vector itself.
</para>
-@str_array: array to copy
-@Returns: a new array
+@str_array:
+@Returns:
<!-- ##### FUNCTION g_strnfill ##### -->
@Returns: the same pointer passed in as @string.
+<!-- ##### FUNCTION g_ascii_strtoull ##### -->
+<para>
+
+</para>
+
+@nptr:
+@endptr:
+@base:
+@Returns:
+
+
<!-- ##### MACRO G_ASCII_DTOSTR_BUF_SIZE ##### -->
<para>
A good size for a buffer to be passed into g_ascii_dtostr().
* is returned, and %ERANGE is stored in %errno.
*
* Return value: the #guint64 value.
+ *
+ * Since: 2.0.7
**/
guint64
g_ascii_strtoull (const gchar *nptr,
/**
* g_time_val_add:
- * @time: a #GTimeVal
+ * @time_: a #GTimeVal
* @microseconds: number of microseconds to add to @time
*
- * Adds the given number of microseconds to @time. @microseconds can
- * also be negative to decrease the value of @time.
+ * Adds the given number of microseconds to @time_. @microseconds can
+ * also be negative to decrease the value of @time_.
**/
void
-g_time_val_add (GTimeVal *time, glong microseconds)
+g_time_val_add (GTimeVal *time_, glong microseconds)
{
- g_return_if_fail (time->tv_usec >= 0 && time->tv_usec < G_USEC_PER_SEC);
+ g_return_if_fail (time_->tv_usec >= 0 && time_->tv_usec < G_USEC_PER_SEC);
if (microseconds >= 0)
{
- time->tv_usec += microseconds % G_USEC_PER_SEC;
- time->tv_sec += microseconds / G_USEC_PER_SEC;
- if (time->tv_usec >= G_USEC_PER_SEC)
+ time_->tv_usec += microseconds % G_USEC_PER_SEC;
+ time_->tv_sec += microseconds / G_USEC_PER_SEC;
+ if (time_->tv_usec >= G_USEC_PER_SEC)
{
- time->tv_usec -= G_USEC_PER_SEC;
- time->tv_sec++;
+ time_->tv_usec -= G_USEC_PER_SEC;
+ time_->tv_sec++;
}
}
else
{
microseconds *= -1;
- time->tv_usec -= microseconds % G_USEC_PER_SEC;
- time->tv_sec -= microseconds / G_USEC_PER_SEC;
- if (time->tv_usec < 0)
+ time_->tv_usec -= microseconds % G_USEC_PER_SEC;
+ time_->tv_sec -= microseconds / G_USEC_PER_SEC;
+ if (time_->tv_usec < 0)
{
- time->tv_usec += G_USEC_PER_SEC;
- time->tv_sec--;
+ time_->tv_usec += G_USEC_PER_SEC;
+ time_->tv_sec--;
}
}
}
* been called).
*
* Return value: human-readable application name. may return %NULL
+ *
+ * Since: 2.2
**/
G_CONST_RETURN gchar*
g_get_application_name (void)