mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
we can't grow _cv_ variables by using a backticked expr that refers back
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org> * configure.in: we can't grow _cv_ variables by using a backticked expr that refers back to the variable (glib_cv_sizeof_system_thread for G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time it's evaluated. quantum states, anyone?)
This commit is contained in:
parent
782a8e2e7c
commit
8ee6344419
@ -1,3 +1,10 @@
|
|||||||
|
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* configure.in: we can't grow _cv_ variables by using a backticked
|
||||||
|
expr that refers back to the variable (glib_cv_sizeof_system_thread for
|
||||||
|
G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time
|
||||||
|
it's evaluated. quantum states, anyone?)
|
||||||
|
|
||||||
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* configure.in: we can't grow _cv_ variables by using a backticked
|
||||||
|
expr that refers back to the variable (glib_cv_sizeof_system_thread for
|
||||||
|
G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time
|
||||||
|
it's evaluated. quantum states, anyone?)
|
||||||
|
|
||||||
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* configure.in: we can't grow _cv_ variables by using a backticked
|
||||||
|
expr that refers back to the variable (glib_cv_sizeof_system_thread for
|
||||||
|
G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time
|
||||||
|
it's evaluated. quantum states, anyone?)
|
||||||
|
|
||||||
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* configure.in: we can't grow _cv_ variables by using a backticked
|
||||||
|
expr that refers back to the variable (glib_cv_sizeof_system_thread for
|
||||||
|
G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time
|
||||||
|
it's evaluated. quantum states, anyone?)
|
||||||
|
|
||||||
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* configure.in: we can't grow _cv_ variables by using a backticked
|
||||||
|
expr that refers back to the variable (glib_cv_sizeof_system_thread for
|
||||||
|
G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time
|
||||||
|
it's evaluated. quantum states, anyone?)
|
||||||
|
|
||||||
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* configure.in: we can't grow _cv_ variables by using a backticked
|
||||||
|
expr that refers back to the variable (glib_cv_sizeof_system_thread for
|
||||||
|
G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time
|
||||||
|
it's evaluated. quantum states, anyone?)
|
||||||
|
|
||||||
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* configure.in: we can't grow _cv_ variables by using a backticked
|
||||||
|
expr that refers back to the variable (glib_cv_sizeof_system_thread for
|
||||||
|
G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time
|
||||||
|
it's evaluated. quantum states, anyone?)
|
||||||
|
|
||||||
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Fri Dec 29 14:53:18 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* configure.in: we can't grow _cv_ variables by using a backticked
|
||||||
|
expr that refers back to the variable (glib_cv_sizeof_system_thread for
|
||||||
|
G_THREAD_USE_PID_SURROGATE), that'd keep the variable growing every time
|
||||||
|
it's evaluated. quantum states, anyone?)
|
||||||
|
|
||||||
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
|
||||||
|
@ -45,3 +45,4 @@
|
|||||||
|
|
||||||
#undef USE_LIBICONV
|
#undef USE_LIBICONV
|
||||||
#undef SANE_MALLOC_PROTOS
|
#undef SANE_MALLOC_PROTOS
|
||||||
|
#undef GLIB_SIZEOF_SYSTEM_THREAD
|
||||||
|
21
configure.in
21
configure.in
@ -1037,9 +1037,8 @@ if test x"$have_threads" != xnone; then
|
|||||||
if test x"$have_threads" = xposix; then
|
if test x"$have_threads" = xposix; then
|
||||||
glib_save_CPPFLAGS="$CPPFLAGS"
|
glib_save_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS $GTHREAD_COMPILE_IMPL_DEFINES"
|
CPPFLAGS="$CPPFLAGS $GTHREAD_COMPILE_IMPL_DEFINES"
|
||||||
GLIB_SIZEOF([#include <pthread.h>],
|
dnl we might grow sizeof(pthread_t) later on, so use a dummy name here
|
||||||
pthread_t,
|
GLIB_SIZEOF([#include <pthread.h>], pthread_t, core_system_thread)
|
||||||
system_thread)
|
|
||||||
# This is not AC_CHECK_FUNC to also work with function
|
# This is not AC_CHECK_FUNC to also work with function
|
||||||
# name mangling in header files.
|
# name mangling in header files.
|
||||||
AC_MSG_CHECKING(for pthread_attr_setstacksize)
|
AC_MSG_CHECKING(for pthread_attr_setstacksize)
|
||||||
@ -1093,6 +1092,7 @@ if test x"$have_threads" != xnone; then
|
|||||||
CPPFLAGS="$glib_save_CPPFLAGS"
|
CPPFLAGS="$glib_save_CPPFLAGS"
|
||||||
|
|
||||||
AC_MSG_CHECKING(whether to use the PID niceness surrogate for thread priorities)
|
AC_MSG_CHECKING(whether to use the PID niceness surrogate for thread priorities)
|
||||||
|
glib_system_thread_size_growth=0
|
||||||
AC_TRY_RUN([#include <pthread.h>
|
AC_TRY_RUN([#include <pthread.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -1108,16 +1108,15 @@ if test x"$have_threads" != xnone; then
|
|||||||
$posix_priority_min != $posix_priority_max);
|
$posix_priority_min != $posix_priority_max);
|
||||||
}],
|
}],
|
||||||
[AC_MSG_RESULT(yes),
|
[AC_MSG_RESULT(yes),
|
||||||
AC_DEFINE(G_THREAD_USE_PID_SURROGATE, 1,
|
AC_DEFINE(G_THREAD_USE_PID_SURROGATE, 1, [whether to use the PID niceness surrogate for thread priorities])
|
||||||
[whether to use the PID niceness surrogate for thread priorities])
|
glib_system_thread_size_growth=$ac_cv_sizeof_long
|
||||||
|
],
|
||||||
glib_cv_sizeof_system_thread=`expr $glib_cv_sizeof_system_thread + $ac_cv_sizeof_long`],
|
|
||||||
[AC_MSG_RESULT(no)])
|
[AC_MSG_RESULT(no)])
|
||||||
|
dnl make sure both glib_cv_sizeof_system_thread and GLIB_SIZEOF_SYSTEM_THREAD are setup
|
||||||
|
glib_cv_sizeof_system_thread=`expr $glib_cv_sizeof_core_system_thread + $glib_system_thread_size_growth`
|
||||||
|
AC_DEFINE_UNQUOTED(GLIB_SIZEOF_SYSTEM_THREAD, $glib_cv_sizeof_system_thread)
|
||||||
else # solaris threads
|
else # solaris threads
|
||||||
GLIB_SIZEOF([#include <thread.h>],
|
GLIB_SIZEOF([#include <thread.h>], thread_t, system_thread)
|
||||||
thread_t,
|
|
||||||
system_thread)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LIBS="$glib_save_LIBS"
|
LIBS="$glib_save_LIBS"
|
||||||
|
@ -209,6 +209,25 @@ g_array_remove_index().
|
|||||||
@Returns: the #GArray.
|
@Returns: the #GArray.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_array_sort ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@array:
|
||||||
|
@compare_func:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_array_sort_with_data ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@array:
|
||||||
|
@compare_func:
|
||||||
|
@user_data:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_array_index ##### -->
|
<!-- ##### MACRO g_array_index ##### -->
|
||||||
<para>
|
<para>
|
||||||
Returns the element of a #GArray at the given index.
|
Returns the element of a #GArray at the given index.
|
||||||
|
@ -123,6 +123,25 @@ g_byte_array_remove_index().
|
|||||||
@Returns: the #GByteArray.
|
@Returns: the #GByteArray.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_byte_array_sort ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@array:
|
||||||
|
@compare_func:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_byte_array_sort_with_data ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@array:
|
||||||
|
@compare_func:
|
||||||
|
@user_data:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_byte_array_set_size ##### -->
|
<!-- ##### FUNCTION g_byte_array_set_size ##### -->
|
||||||
<para>
|
<para>
|
||||||
Sets the size of the #GByteArray, expanding it if necessary.
|
Sets the size of the #GByteArray, expanding it if necessary.
|
||||||
|
@ -156,6 +156,25 @@ g_ptr_array_remove_index().
|
|||||||
@Returns: the pointer which was removed.
|
@Returns: the pointer which was removed.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_ptr_array_sort ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@array:
|
||||||
|
@compare_func:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_ptr_array_sort_with_data ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@array:
|
||||||
|
@compare_func:
|
||||||
|
@user_data:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_ptr_array_set_size ##### -->
|
<!-- ##### FUNCTION g_ptr_array_set_size ##### -->
|
||||||
<para>
|
<para>
|
||||||
Sets the size of the array, expanding it if necessary.
|
Sets the size of the array, expanding it if necessary.
|
||||||
|
@ -51,11 +51,11 @@ called by g_cache_remove() when the object is no longer needed (i.e. its
|
|||||||
reference count drops to 0).
|
reference count drops to 0).
|
||||||
@hash_key_func: a function to create a hash value from a key.
|
@hash_key_func: a function to create a hash value from a key.
|
||||||
@hash_value_func: a function to create a hash value from a value.
|
@hash_value_func: a function to create a hash value from a value.
|
||||||
@key_compare_func:
|
|
||||||
@Returns: a new #GCache.
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@key_equal_func: a function to compare two keys. It should return TRUE if
|
@key_equal_func: a function to compare two keys. It should return TRUE if
|
||||||
the two keys are equivalent.
|
the two keys are equivalent.
|
||||||
|
@Returns: a new #GCache.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@key_compare_func:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_cache_insert ##### -->
|
<!-- ##### FUNCTION g_cache_insert ##### -->
|
||||||
|
@ -47,6 +47,7 @@ g_completion_complete().
|
|||||||
@func:
|
@func:
|
||||||
@prefix:
|
@prefix:
|
||||||
@cache:
|
@cache:
|
||||||
|
@strncmp_func:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_completion_new ##### -->
|
<!-- ##### FUNCTION g_completion_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@ -52,15 +52,56 @@ Character Set Conversion
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_iconv_open ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@to_codeset:
|
||||||
|
@from_codeset:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_iconv ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@converter:
|
||||||
|
@inbuf:
|
||||||
|
@inbytes_left:
|
||||||
|
@outbuf:
|
||||||
|
@outbytes_left:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_iconv_close ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@converter:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_locale_to_utf8 ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@opsysstring:
|
||||||
|
@error:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_filename_to_utf8 ##### -->
|
<!-- ##### FUNCTION g_filename_to_utf8 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@opsysstring:
|
@opsysstring:
|
||||||
@Returns:
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@error:
|
@error:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_filename_from_utf8 ##### -->
|
<!-- ##### FUNCTION g_filename_from_utf8 ##### -->
|
||||||
@ -69,9 +110,18 @@ Character Set Conversion
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@utf8string:
|
@utf8string:
|
||||||
@Returns:
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@error:
|
@error:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_locale_from_utf8 ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@utf8string:
|
||||||
|
@error:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### ENUM GConvertError ##### -->
|
<!-- ##### ENUM GConvertError ##### -->
|
||||||
@ -82,4 +132,5 @@ Character Set Conversion
|
|||||||
@G_CONVERT_ERROR_NO_CONVERSION:
|
@G_CONVERT_ERROR_NO_CONVERSION:
|
||||||
@G_CONVERT_ERROR_ILLEGAL_SEQUENCE:
|
@G_CONVERT_ERROR_ILLEGAL_SEQUENCE:
|
||||||
@G_CONVERT_ERROR_FAILED:
|
@G_CONVERT_ERROR_FAILED:
|
||||||
|
@G_CONVERT_ERROR_PARTIAL_INPUT:
|
||||||
|
|
||||||
|
@ -422,6 +422,74 @@ dates must be valid.
|
|||||||
greater than zero if @lhs is greater than @rhs
|
greater than zero if @lhs is greater than @rhs
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_day ##### -->
|
||||||
|
<para>
|
||||||
|
Return the day of the month; the #GDate must be valid.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date: Date to extract the day of the month from
|
||||||
|
@Returns: Day of the month
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_month ##### -->
|
||||||
|
<para>
|
||||||
|
Accessor for the month of the year. Date must be valid.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date: Date to get the month from
|
||||||
|
@Returns: A #GDateMonth
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_year ##### -->
|
||||||
|
<para>
|
||||||
|
Accessor; returns the year of a #GDate. The date must be valid.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date: Date
|
||||||
|
@Returns: Year in which the date falls
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_julian ##### -->
|
||||||
|
<para>
|
||||||
|
Accessor, returns the Julian day or "serial number" of the #GDate. The
|
||||||
|
Julian day is simply the number of days since January 1, Year 1; i.e.,
|
||||||
|
January 1, Year 1 is Julian day 1; January 2, Year 1 is Julian day 2,
|
||||||
|
etc. Date must be valid.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date: Date to extract the Julian day from
|
||||||
|
@Returns: Julian day
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_weekday ##### -->
|
||||||
|
<para>
|
||||||
|
Returns the day of the week for a #GDate. The date must be valid.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date: Date
|
||||||
|
@Returns: Day of the week as a #GDateWeekday
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_day_of_year ##### -->
|
||||||
|
<para>
|
||||||
|
Return the day of the year, where Jan 1 is the first day of the
|
||||||
|
year. Date must be valid.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date: Date to extract day of year from
|
||||||
|
@Returns: Day of the year
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_days_in_month ##### -->
|
||||||
|
<para>
|
||||||
|
Return the number of days in a month, taking leap years into account.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@month: Month
|
||||||
|
@year: Year
|
||||||
|
@Returns: Number of days in @month during the year @year.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_is_first_of_month ##### -->
|
<!-- ##### FUNCTION g_date_is_first_of_month ##### -->
|
||||||
<para>
|
<para>
|
||||||
Returns TRUE if the date is on the first of a month. Date must be valid.
|
Returns TRUE if the date is on the first of a month. Date must be valid.
|
||||||
@ -449,6 +517,56 @@ Returns TRUE if the year is a leap year
|
|||||||
@Returns: Boolean, if the year is a leap year
|
@Returns: Boolean, if the year is a leap year
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_monday_week_of_year ##### -->
|
||||||
|
<para>
|
||||||
|
Return the week of the year, where weeks are understood to start on
|
||||||
|
Monday. If the date is before the first Monday of the year, return
|
||||||
|
0. Date must be valid.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date: Date to use
|
||||||
|
@Returns: Week of the year
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_monday_weeks_in_year ##### -->
|
||||||
|
<para>
|
||||||
|
Return the number of weeks in the year, where weeks are taken to start
|
||||||
|
on Monday. Will be 52 or 53. Date must be valid. (Years always have 52
|
||||||
|
7-day periods, plus 1 or 2 extra days depending on whether it's a leap
|
||||||
|
year. This function is basically telling you how many Mondays are in
|
||||||
|
the year, i.e. there are 53 Mondays if one of the extra days happens
|
||||||
|
to be a Monday.)
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@year: Year
|
||||||
|
@Returns: Number of Mondays in the year
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_sunday_week_of_year ##### -->
|
||||||
|
<para>
|
||||||
|
Week of the year during which this date falls, if weeks are understood
|
||||||
|
to being on Sunday. Date must be valid. Can return 0 if the day is
|
||||||
|
before the first Sunday of the year.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date: Date
|
||||||
|
@Returns: Week number
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_sunday_weeks_in_year ##### -->
|
||||||
|
<para>
|
||||||
|
Return the number of weeks in the year, where weeks are taken to start
|
||||||
|
on Sunday. Will be 52 or 53. Date must be valid. (Years always have 52
|
||||||
|
7-day periods, plus 1 or 2 extra days depending on whether it's a leap
|
||||||
|
year. This function is basically telling you how many Sundays are in
|
||||||
|
the year, i.e. there are 53 Sundays if one of the extra days happens
|
||||||
|
to be a Sunday.)
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@year: Year to count weeks in
|
||||||
|
@Returns: Number of weeks
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_strftime ##### -->
|
<!-- ##### FUNCTION g_date_strftime ##### -->
|
||||||
<para>
|
<para>
|
||||||
Generate a printed representation of the date, in a locale-specific
|
Generate a printed representation of the date, in a locale-specific
|
||||||
|
@ -93,3 +93,23 @@ File Utilities
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_mkstemp ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@tmpl:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_file_open_tmp ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@tmpl:
|
||||||
|
@name_used:
|
||||||
|
@error:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,28 +1,3 @@
|
|||||||
<!-- ##### FUNCTION g_date_get_day ##### -->
|
|
||||||
<para>
|
|
||||||
Return the day of the month; the #GDate must be valid.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@date: Date to extract the day of the month from
|
|
||||||
@Returns: Day of the month
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_markup_parse_context_parse ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@text:
|
|
||||||
@text_len:
|
|
||||||
@error:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GSource ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_connect_indirect ##### -->
|
<!-- ##### FUNCTION g_source_connect_indirect ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -32,70 +7,12 @@ Return the day of the month; the #GDate must be valid.
|
|||||||
@callback_data:
|
@callback_data:
|
||||||
@callback_funcs:
|
@callback_funcs:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_sunday_weeks_in_year ##### -->
|
|
||||||
<para>
|
|
||||||
Return the number of weeks in the year, where weeks are taken to start
|
|
||||||
on Sunday. Will be 52 or 53. Date must be valid. (Years always have 52
|
|
||||||
7-day periods, plus 1 or 2 extra days depending on whether it's a leap
|
|
||||||
year. This function is basically telling you how many Sundays are in
|
|
||||||
the year, i.e. there are 53 Sundays if one of the extra days happens
|
|
||||||
to be a Sunday.)
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@year: Year to count weeks in
|
|
||||||
@Returns: Number of weeks
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_locale_to_utf8 ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@opsysstring:
|
|
||||||
@error:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_iconv_close ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@converter:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### MACRO popen ##### -->
|
<!-- ##### MACRO popen ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_set_can_recurse ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@can_recurse:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_days_in_month ##### -->
|
|
||||||
<para>
|
|
||||||
Return the number of days in a month, taking leap years into account.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@month: Month
|
|
||||||
@year: Year
|
|
||||||
@Returns: Number of days in @month during the year @year.
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_julian ##### -->
|
|
||||||
<para>
|
|
||||||
Accessor, returns the Julian day or "serial number" of the #GDate. The
|
|
||||||
Julian day is simply the number of days since January 1, Year 1; i.e.,
|
|
||||||
January 1, Year 1 is Julian day 1; January 2, Year 1 is Julian day 2,
|
|
||||||
etc. Date must be valid.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@date: Date to extract the Julian day from
|
|
||||||
@Returns: Julian day
|
|
||||||
|
|
||||||
<!-- ##### MACRO pclose ##### -->
|
<!-- ##### MACRO pclose ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -118,131 +35,12 @@ the results may be needed.
|
|||||||
See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
|
See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
|
||||||
#G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
|
#G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
|
||||||
|
|
||||||
<!-- ##### ENUM GMarkupError ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@G_MARKUP_ERROR_BAD_UTF8: text being parsed was not valid UTF-8
|
|
||||||
@G_MARKUP_ERROR_EMPTY: document contained nothing, or only whitespace
|
|
||||||
@G_MARKUP_ERROR_PARSE: document was ill-formed
|
|
||||||
@G_MARKUP_ERROR_UNKNOWN_ELEMENT: error should be set by #GMarkupParser functions; element wasn't known
|
|
||||||
@G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE: error should be set by #GMarkupParser functions; attribute wasn't known
|
|
||||||
@G_MARKUP_ERROR_INVALID_CONTENT: error should be set by #GMarkupParser functions; something was wrong with contents of the document, e.g. invalid attribute value
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_add_poll ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@fd:
|
|
||||||
@priority:
|
|
||||||
|
|
||||||
<!-- ##### MACRO lseek ##### -->
|
<!-- ##### MACRO lseek ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_string_new_len ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@init:
|
|
||||||
@len:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GSourceCallbackFuncs ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@ref:
|
|
||||||
@unref:
|
|
||||||
@get:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_array_sort ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@array:
|
|
||||||
@compare_func:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_find_source_by_funcs_user_data ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@funcs:
|
|
||||||
@user_data:
|
|
||||||
@Returns:
|
|
||||||
@source_data:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_markup_parse_context_free ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GMarkupParseContext ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_ptr_array_sort ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@array:
|
|
||||||
@compare_func:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_query ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@max_priority:
|
|
||||||
@timeout:
|
|
||||||
@fds:
|
|
||||||
@n_fds:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_iconv_open ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@to_codeset:
|
|
||||||
@from_codeset:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source_funcs:
|
|
||||||
@struct_size:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_monday_week_of_year ##### -->
|
|
||||||
<para>
|
|
||||||
Return the week of the year, where weeks are understood to start on
|
|
||||||
Monday. If the date is before the first Monday of the year, return
|
|
||||||
0. Date must be valid.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@date: Date to use
|
|
||||||
@Returns: Week of the year
|
|
||||||
|
|
||||||
<!-- ##### MACRO getpid ##### -->
|
<!-- ##### MACRO getpid ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -268,53 +66,19 @@ type of source.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_get_id ##### -->
|
<!-- ##### FUNCTION g_source_add ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@priority:
|
||||||
|
@can_recurse:
|
||||||
|
@funcs:
|
||||||
|
@source_data:
|
||||||
|
@user_data:
|
||||||
|
@notify:
|
||||||
|
@Returns:
|
||||||
@source:
|
@source:
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_year ##### -->
|
|
||||||
<para>
|
|
||||||
Accessor; returns the year of a #GDate. The date must be valid.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@date: Date
|
|
||||||
@Returns: Year in which the date falls
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_mkstemp ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@tmpl:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_month ##### -->
|
|
||||||
<para>
|
|
||||||
Accessor for the month of the year. Date must be valid.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@date: Date to get the month from
|
|
||||||
@Returns: A #GDateMonth
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_get_poll_func ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
@context:
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_add_poll ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@fd:
|
|
||||||
|
|
||||||
<!-- ##### MACRO fdopen ##### -->
|
<!-- ##### MACRO fdopen ##### -->
|
||||||
<para>
|
<para>
|
||||||
@ -331,163 +95,6 @@ Accessor for the month of the year. Date must be valid.
|
|||||||
@s2:
|
@s2:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_get_current_time ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@timeval:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_loop_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@is_running:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_iconv ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@converter:
|
|
||||||
@inbuf:
|
|
||||||
@inbytes_left:
|
|
||||||
@outbuf:
|
|
||||||
@outbytes_left:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_ref ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_byte_array_sort ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@array:
|
|
||||||
@compare_func:
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_MODULE_SUFFIX ##### -->
|
|
||||||
<para>
|
|
||||||
Expands to the proper shared library suffix for the current platform
|
|
||||||
without the leading dot. For the most Unices and Linux this is "so",
|
|
||||||
for some HPUX versions this is "sl" and for Windows this is "dll".
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_markup_parse_context_get_position ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@line_number:
|
|
||||||
@char_number:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_locale_from_utf8 ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@utf8string:
|
|
||||||
@error:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_loop_is_running ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@loop:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_remove_poll ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@fd:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_byte_array_sort_with_data ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@array:
|
|
||||||
@compare_func:
|
|
||||||
@user_data:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_markup_parse_context_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@parser:
|
|
||||||
@flags:
|
|
||||||
@user_data:
|
|
||||||
@user_data_dnotify:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_get_can_recurse ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_get ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@thread:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_remove_poll ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@fd:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_day_of_year ##### -->
|
|
||||||
<para>
|
|
||||||
Return the day of the year, where Jan 1 is the first day of the
|
|
||||||
year. Date must be valid.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@date: Date to extract day of year from
|
|
||||||
@Returns: Day of the year
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_tree_new_with_data ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@key_compare_func:
|
|
||||||
@user_data:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_get_priority ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_connect ##### -->
|
<!-- ##### FUNCTION g_source_connect ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -498,151 +105,18 @@ year. Date must be valid.
|
|||||||
@data:
|
@data:
|
||||||
@notify:
|
@notify:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_iteration ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@may_block:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_dispatch ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_loop_quit ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@loop:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_prepare ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@priority:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_sunday_week_of_year ##### -->
|
|
||||||
<para>
|
|
||||||
Week of the year during which this date falls, if weeks are understood
|
|
||||||
to being on Sunday. Date must be valid. Can return 0 if the day is
|
|
||||||
before the first Sunday of the year.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@date: Date
|
|
||||||
@Returns: Week number
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_set_priority ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@priority:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_ptr_array_sort_with_data ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@array:
|
|
||||||
@compare_func:
|
|
||||||
@user_data:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_list_sort_with_data ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@list:
|
|
||||||
@compare_func:
|
|
||||||
@user_data:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_monday_weeks_in_year ##### -->
|
|
||||||
<para>
|
|
||||||
Return the number of weeks in the year, where weeks are taken to start
|
|
||||||
on Monday. Will be 52 or 53. Date must be valid. (Years always have 52
|
|
||||||
7-day periods, plus 1 or 2 extra days depending on whether it's a leap
|
|
||||||
year. This function is basically telling you how many Mondays are in
|
|
||||||
the year, i.e. there are 53 Mondays if one of the extra days happens
|
|
||||||
to be a Monday.)
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@year: Year
|
|
||||||
@Returns: Number of Mondays in the year
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_find_source_by_user_data ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@user_data:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_set_poll_func ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@func:
|
|
||||||
|
|
||||||
<!-- ##### MACRO getcwd ##### -->
|
<!-- ##### MACRO getcwd ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_rand_boolean ##### -->
|
|
||||||
<para>
|
|
||||||
Return a random #gboolean from @rand. This corresponds to a unbiased
|
|
||||||
coin toss.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@rand: a #GRand.
|
|
||||||
@Returns: a random #gboolean.
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_io_create_watch ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@channel:
|
|
||||||
@condition:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_unref ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
|
|
||||||
<!-- ##### MACRO write ##### -->
|
<!-- ##### MACRO write ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_find_source_by_id ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@id:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_remove_poll ##### -->
|
<!-- ##### FUNCTION g_main_remove_poll ##### -->
|
||||||
<para>
|
<para>
|
||||||
Removes a file descriptor from the list being polled.
|
Removes a file descriptor from the list being polled.
|
||||||
@ -656,13 +130,6 @@ Removes a file descriptor from the list being polled.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_idle_source_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_string ##### -->
|
<!-- ##### MACRO g_string ##### -->
|
||||||
<para>
|
<para>
|
||||||
Turns the argument into a string literal by using the '#' stringizing operator.
|
Turns the argument into a string literal by using the '#' stringizing operator.
|
||||||
@ -670,14 +137,6 @@ Turns the argument into a string literal by using the '#' stringizing operator.
|
|||||||
|
|
||||||
@x: text to convert to a literal string.
|
@x: text to convert to a literal string.
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_pending ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
|
<!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -685,164 +144,12 @@ Turns the argument into a string literal by using the '#' stringizing operator.
|
|||||||
|
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_loop_run ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@loop:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_get_weekday ##### -->
|
|
||||||
<para>
|
|
||||||
Returns the day of the week for a #GDate. The date must be valid.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@date: Date
|
|
||||||
@Returns: Day of the week as a #GDateWeekday
|
|
||||||
|
|
||||||
<!-- ##### MACRO read ##### -->
|
<!-- ##### MACRO read ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_array_sort_with_data ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@array:
|
|
||||||
@compare_func:
|
|
||||||
@user_data:
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_MARKUP_ERROR ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_default ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### ENUM GMarkupParseFlags ##### -->
|
|
||||||
<para>
|
|
||||||
There are no flags right now
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG:
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_random_boolean ##### -->
|
|
||||||
<para>
|
|
||||||
Return a random #gboolean. This corresponds to a unbiased coin toss.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@Returns: a random #gboolean.
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_slist_sort_with_data ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@list:
|
|
||||||
@compare_func:
|
|
||||||
@user_data:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_markup_parse_context_end_parse ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@error:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_get_context ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_timeout_source_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@interval:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GMarkupParser ##### -->
|
|
||||||
<para>
|
|
||||||
Any of the fields in #GMarkupParser can be %NULL, in which case they
|
|
||||||
will be ignored. Except for the @error function, any of these
|
|
||||||
callbacks can set an error; in particular the
|
|
||||||
%G_MARKUP_ERROR_UNKNOWN_ELEMENT, %G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
|
|
||||||
and %G_MARKUP_ERROR_INVALID_CONTENT errors are intended to be set
|
|
||||||
from these callbacks. If you set an error from a callback,
|
|
||||||
g_markup_parse_context_parse() will report that error back to its caller.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@start_element: Callback to invoke when the opening tag of an element
|
|
||||||
is seen.
|
|
||||||
@end_element: Callback to invoke when the closing tag of an element is seen
|
|
||||||
@text: Callback to invoke when some text is seen (text is always
|
|
||||||
inside an element)
|
|
||||||
@passthrough: Callback to invoke for comments and processing
|
|
||||||
instructions; if you're re-writing the parsed document, write the
|
|
||||||
passthrough text back out in the same position
|
|
||||||
@error: Callback to invoke when an error occurs
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GEqualFunc ##### -->
|
|
||||||
<para>
|
|
||||||
Specifies the type of a function used to test two values for
|
|
||||||
equality. The function should return TRUE if both values are equal and
|
|
||||||
FALSE otherwise.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@a: a value.
|
|
||||||
@b: a value to compare with.
|
|
||||||
@Returns: TRUE if @a = @b; FALSE otherwise.
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_loop_destroy ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@loop:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_file_open_tmp ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@tmpl:
|
|
||||||
@name_used:
|
|
||||||
@error:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GMainContext ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_context_check ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@context:
|
|
||||||
@max_priority:
|
|
||||||
@fds:
|
|
||||||
@n_fds:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_convert_error_quark ##### -->
|
<!-- ##### FUNCTION g_convert_error_quark ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -850,22 +157,6 @@ FALSE otherwise.
|
|||||||
|
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_destroy ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@source:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_markup_escape_text ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@text:
|
|
||||||
@length:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### MACRO open ##### -->
|
<!-- ##### MACRO open ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -69,15 +69,15 @@ Hash values are used to determine where keys are stored within the
|
|||||||
#GHashTable data structure.
|
#GHashTable data structure.
|
||||||
The g_direct_hash(), g_int_hash() and g_str_hash() functions are provided for
|
The g_direct_hash(), g_int_hash() and g_str_hash() functions are provided for
|
||||||
some common types of keys. If hash_func is NULL, g_direct_hash() is used.
|
some common types of keys. If hash_func is NULL, g_direct_hash() is used.
|
||||||
@key_compare_func:
|
|
||||||
@Returns: a new #GHashTable.
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@key_equal_func: a function to check two keys for equality. This is
|
@key_equal_func: a function to check two keys for equality. This is
|
||||||
used when looking up keys in the #GHashTable. The g_direct_equal(),
|
used when looking up keys in the #GHashTable. The g_direct_equal(),
|
||||||
g_int_equal() and g_str_equal() functions are provided for the most
|
g_int_equal() and g_str_equal() functions are provided for the most
|
||||||
common types of keys. If @key_equal_func is NULL, keys are compared
|
common types of keys. If @key_equal_func is NULL, keys are compared
|
||||||
directly in a similar fashion to g_direct_equal(), but without the
|
directly in a similar fashion to g_direct_equal(), but without the
|
||||||
overhead of a function call.
|
overhead of a function call.
|
||||||
|
@Returns: a new #GHashTable.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@key_compare_func:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GHashFunc ##### -->
|
<!-- ##### USER_FUNCTION GHashFunc ##### -->
|
||||||
@ -104,6 +104,18 @@ lookup.
|
|||||||
@Returns: the hash value corresponding to the key.
|
@Returns: the hash value corresponding to the key.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### USER_FUNCTION GEqualFunc ##### -->
|
||||||
|
<para>
|
||||||
|
Specifies the type of a function used to test two values for
|
||||||
|
equality. The function should return TRUE if both values are equal and
|
||||||
|
FALSE otherwise.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@a: a value.
|
||||||
|
@b: a value to compare with.
|
||||||
|
@Returns: TRUE if @a = @b; FALSE otherwise.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_hash_table_insert ##### -->
|
<!-- ##### FUNCTION g_hash_table_insert ##### -->
|
||||||
<para>
|
<para>
|
||||||
Inserts a new key and value into a #GHashTable.
|
Inserts a new key and value into a #GHashTable.
|
||||||
@ -196,6 +208,7 @@ allocated values are freed yourself.
|
|||||||
|
|
||||||
@hash_table: a #GHashTable.
|
@hash_table: a #GHashTable.
|
||||||
@key: the key to remove.
|
@key: the key to remove.
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_hash_table_foreach_remove ##### -->
|
<!-- ##### FUNCTION g_hash_table_foreach_remove ##### -->
|
||||||
|
@ -209,6 +209,16 @@ Decrements the reference count of a #GIOChannel.
|
|||||||
@channel: a #GIOChannel.
|
@channel: a #GIOChannel.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_io_create_watch ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@channel:
|
||||||
|
@condition:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_io_add_watch ##### -->
|
<!-- ##### FUNCTION g_io_add_watch ##### -->
|
||||||
<para>
|
<para>
|
||||||
Adds the #GIOChannel into the
|
Adds the #GIOChannel into the
|
||||||
@ -314,6 +324,6 @@ generic way.
|
|||||||
@io_write:
|
@io_write:
|
||||||
@io_seek:
|
@io_seek:
|
||||||
@io_close:
|
@io_close:
|
||||||
@io_add_watch:
|
@io_create_watch:
|
||||||
@io_free:
|
@io_free:
|
||||||
|
|
||||||
|
@ -268,6 +268,17 @@ value if the first element comes after the second.
|
|||||||
@Returns: the start of the sorted #GList.
|
@Returns: the start of the sorted #GList.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_list_sort_with_data ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@list:
|
||||||
|
@compare_func:
|
||||||
|
@user_data:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GCompareFunc ##### -->
|
<!-- ##### USER_FUNCTION GCompareFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
Specifies the type of a comparison function used to compare two
|
Specifies the type of a comparison function used to compare two
|
||||||
|
@ -271,6 +271,17 @@ value if the first element comes after the second.
|
|||||||
@Returns: the start of the sorted #GList.
|
@Returns: the start of the sorted #GList.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_slist_sort_with_data ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@list:
|
||||||
|
@compare_func:
|
||||||
|
@user_data:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_slist_concat ##### -->
|
<!-- ##### FUNCTION g_slist_concat ##### -->
|
||||||
<para>
|
<para>
|
||||||
Adds the second #GSList onto the end of the first #GSList.
|
Adds the second #GSList onto the end of the first #GSList.
|
||||||
|
@ -109,7 +109,50 @@ of a GLib or GTK+ application.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_new ##### -->
|
<!-- ##### FUNCTION g_main_loop_new ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@is_running:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_loop_destroy ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@loop:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_loop_run ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@loop:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_loop_quit ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@loop:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_loop_is_running ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@loop:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO g_main_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
Creates a new #GMainLoop for the default main loop. A compatibility
|
Creates a new #GMainLoop for the default main loop. A compatibility
|
||||||
macro, see g_main_loop_new().
|
macro, see g_main_loop_new().
|
||||||
@ -120,7 +163,7 @@ very important since calling g_main_run() will set this to TRUE anyway.
|
|||||||
@Returns: a new #GMainLoop.
|
@Returns: a new #GMainLoop.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_destroy ##### -->
|
<!-- ##### MACRO g_main_destroy ##### -->
|
||||||
<para>
|
<para>
|
||||||
Frees the memory allocated for the #GMainLoop. A compatibility macro, see
|
Frees the memory allocated for the #GMainLoop. A compatibility macro, see
|
||||||
g_main_loop_destroy().
|
g_main_loop_destroy().
|
||||||
@ -129,7 +172,7 @@ g_main_loop_destroy().
|
|||||||
@loop: a #GMainLoop.
|
@loop: a #GMainLoop.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_run ##### -->
|
<!-- ##### MACRO g_main_run ##### -->
|
||||||
<para>
|
<para>
|
||||||
Runs a main loop until it stops running. A compatibility macro, see g_main_loop_run().
|
Runs a main loop until it stops running. A compatibility macro, see g_main_loop_run().
|
||||||
</para>
|
</para>
|
||||||
@ -137,7 +180,7 @@ Runs a main loop until it stops running. A compatibility macro, see g_main_loop_
|
|||||||
@loop: a #GMainLoop.
|
@loop: a #GMainLoop.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_quit ##### -->
|
<!-- ##### MACRO g_main_quit ##### -->
|
||||||
<para>
|
<para>
|
||||||
Stops the #GMainLoop. If g_main_run() was called to run the #GMainLoop,
|
Stops the #GMainLoop. If g_main_run() was called to run the #GMainLoop,
|
||||||
it will now return. A compatibility macro, see g_main_loop_quit().
|
it will now return. A compatibility macro, see g_main_loop_quit().
|
||||||
@ -146,7 +189,7 @@ it will now return. A compatibility macro, see g_main_loop_quit().
|
|||||||
@loop: a #GMainLoop.
|
@loop: a #GMainLoop.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_is_running ##### -->
|
<!-- ##### MACRO g_main_is_running ##### -->
|
||||||
<para>
|
<para>
|
||||||
Checks if the main loop is running. A compatibility macro, see
|
Checks if the main loop is running. A compatibility macro, see
|
||||||
g_main_loop_is_running().
|
g_main_loop_is_running().
|
||||||
@ -201,7 +244,40 @@ It is not used within GLib or GTK+.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_iteration ##### -->
|
<!-- ##### STRUCT GMainContext ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_get ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@thread:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_default ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_iteration ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@may_block:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO g_main_iteration ##### -->
|
||||||
<para>
|
<para>
|
||||||
Runs a single iteration for the default #GMainContext.
|
Runs a single iteration for the default #GMainContext.
|
||||||
A compatibility macro, see g_main_context_iteration().
|
A compatibility macro, see g_main_context_iteration().
|
||||||
@ -214,7 +290,16 @@ processed.
|
|||||||
@Returns: TRUE if more events are pending.
|
@Returns: TRUE if more events are pending.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_pending ##### -->
|
<!-- ##### FUNCTION g_main_context_pending ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO g_main_pending ##### -->
|
||||||
<para>
|
<para>
|
||||||
Checks if any events are pending for the default #GMainContext
|
Checks if any events are pending for the default #GMainContext
|
||||||
(i.e. ready to be processed). A compatibility macro, see
|
(i.e. ready to be processed). A compatibility macro, see
|
||||||
@ -224,6 +309,100 @@ g_main_context_pending().
|
|||||||
@Returns: %TRUE if any events are pending.
|
@Returns: %TRUE if any events are pending.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_find_source_by_id ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@id:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_find_source_by_user_data ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@user_data:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_find_source_by_funcs_user_data ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@funcs:
|
||||||
|
@user_data:
|
||||||
|
@Returns:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@source_data:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_prepare ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@priority:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_query ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@max_priority:
|
||||||
|
@timeout:
|
||||||
|
@fds:
|
||||||
|
@n_fds:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_check ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@max_priority:
|
||||||
|
@fds:
|
||||||
|
@n_fds:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_dispatch ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_set_poll_func ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@func:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_get_poll_func ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GPollFunc ##### -->
|
<!-- ##### USER_FUNCTION GPollFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
Specifies the type of function passed to g_main_set_poll_func().
|
Specifies the type of function passed to g_main_set_poll_func().
|
||||||
@ -239,7 +418,26 @@ The semantics of the function should match those of the
|
|||||||
or -1 if an error occurred.
|
or -1 if an error occurred.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_main_set_poll_func ##### -->
|
<!-- ##### FUNCTION g_main_context_add_poll ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@fd:
|
||||||
|
@priority:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_main_context_remove_poll ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@fd:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO g_main_set_poll_func ##### -->
|
||||||
<para>
|
<para>
|
||||||
Sets the function to use for the handle polling of file descriptors
|
Sets the function to use for the handle polling of file descriptors
|
||||||
for the default main context. This is a compatability macro, see
|
for the default main context. This is a compatability macro, see
|
||||||
@ -249,6 +447,15 @@ g_main_context_set_poll_func() for full details.
|
|||||||
@func: the function to call to poll all file descriptors.
|
@func: the function to call to poll all file descriptors.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_timeout_source_new ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@interval:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_timeout_add ##### -->
|
<!-- ##### FUNCTION g_timeout_add ##### -->
|
||||||
<para>
|
<para>
|
||||||
</para>
|
</para>
|
||||||
@ -271,6 +478,14 @@ g_main_context_set_poll_func() for full details.
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_idle_source_new ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_idle_add ##### -->
|
<!-- ##### FUNCTION g_idle_add ##### -->
|
||||||
<para>
|
<para>
|
||||||
</para>
|
</para>
|
||||||
@ -287,10 +502,10 @@ g_main_context_set_poll_func() for full details.
|
|||||||
@priority:
|
@priority:
|
||||||
@function:
|
@function:
|
||||||
@data:
|
@data:
|
||||||
@destroy:
|
@notify:
|
||||||
@Returns:
|
@Returns:
|
||||||
<!-- # Unused Parameters # -->
|
<!-- # Unused Parameters # -->
|
||||||
@notify:
|
@destroy:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_idle_remove_by_data ##### -->
|
<!-- ##### FUNCTION g_idle_remove_by_data ##### -->
|
||||||
@ -336,6 +551,12 @@ poll() function to indicate which events occurred.
|
|||||||
@events:
|
@events:
|
||||||
@revents:
|
@revents:
|
||||||
|
|
||||||
|
<!-- ##### STRUCT GSource ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GSourceFuncs ##### -->
|
<!-- ##### STRUCT GSourceFuncs ##### -->
|
||||||
<para>
|
<para>
|
||||||
The #GSourceFuncs struct contains a table of functions used to handle
|
The #GSourceFuncs struct contains a table of functions used to handle
|
||||||
@ -416,20 +637,102 @@ the required condition has been met, and returns TRUE if so.
|
|||||||
@dispatch:
|
@dispatch:
|
||||||
@destroy:
|
@destroy:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_add ##### -->
|
<!-- ##### STRUCT GSourceCallbackFuncs ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@priority:
|
@ref:
|
||||||
@can_recurse:
|
@unref:
|
||||||
@funcs:
|
@get:
|
||||||
@source_data:
|
|
||||||
@user_data:
|
<!-- ##### FUNCTION g_source_new ##### -->
|
||||||
@notify:
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source_funcs:
|
||||||
|
@struct_size:
|
||||||
@Returns:
|
@Returns:
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_ref ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
@source:
|
@source:
|
||||||
@context:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_unref ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_destroy ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_set_priority ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@priority:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_get_priority ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_set_can_recurse ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@can_recurse:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_get_can_recurse ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_get_id ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_get_context ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GSourceFunc ##### -->
|
<!-- ##### USER_FUNCTION GSourceFunc ##### -->
|
||||||
@ -443,6 +746,33 @@ of the above functions.
|
|||||||
@Returns: it should return FALSE if the source should be removed.
|
@Returns: it should return FALSE if the source should be removed.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_add_poll ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@fd:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_remove_poll ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@fd:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_source_get_current_time ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@timeval:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_source_remove ##### -->
|
<!-- ##### FUNCTION g_source_remove ##### -->
|
||||||
<para>
|
<para>
|
||||||
</para>
|
</para>
|
||||||
|
@ -87,3 +87,118 @@ Character references
|
|||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<!-- ##### ENUM GMarkupError ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@G_MARKUP_ERROR_BAD_UTF8: text being parsed was not valid UTF-8
|
||||||
|
@G_MARKUP_ERROR_EMPTY: document contained nothing, or only whitespace
|
||||||
|
@G_MARKUP_ERROR_PARSE: document was ill-formed
|
||||||
|
@G_MARKUP_ERROR_UNKNOWN_ELEMENT: error should be set by #GMarkupParser functions; element wasn't known
|
||||||
|
@G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE: error should be set by #GMarkupParser functions; attribute wasn't known
|
||||||
|
@G_MARKUP_ERROR_INVALID_CONTENT: error should be set by #GMarkupParser functions; something was wrong with contents of the document, e.g. invalid attribute value
|
||||||
|
|
||||||
|
<!-- ##### MACRO G_MARKUP_ERROR ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### ENUM GMarkupParseFlags ##### -->
|
||||||
|
<para>
|
||||||
|
There are no flags right now
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG:
|
||||||
|
|
||||||
|
<!-- ##### STRUCT GMarkupParseContext ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### STRUCT GMarkupParser ##### -->
|
||||||
|
<para>
|
||||||
|
Any of the fields in #GMarkupParser can be %NULL, in which case they
|
||||||
|
will be ignored. Except for the @error function, any of these
|
||||||
|
callbacks can set an error; in particular the
|
||||||
|
%G_MARKUP_ERROR_UNKNOWN_ELEMENT, %G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
|
||||||
|
and %G_MARKUP_ERROR_INVALID_CONTENT errors are intended to be set
|
||||||
|
from these callbacks. If you set an error from a callback,
|
||||||
|
g_markup_parse_context_parse() will report that error back to its caller.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@start_element: Callback to invoke when the opening tag of an element
|
||||||
|
is seen.
|
||||||
|
@end_element: Callback to invoke when the closing tag of an element is seen
|
||||||
|
@text: Callback to invoke when some text is seen (text is always
|
||||||
|
inside an element)
|
||||||
|
@passthrough: Callback to invoke for comments and processing
|
||||||
|
instructions; if you're re-writing the parsed document, write the
|
||||||
|
passthrough text back out in the same position
|
||||||
|
@error: Callback to invoke when an error occurs
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_markup_escape_text ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@text:
|
||||||
|
@length:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_markup_parse_context_end_parse ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@error:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_markup_parse_context_free ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_markup_parse_context_get_position ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@line_number:
|
||||||
|
@char_number:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_markup_parse_context_new ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@parser:
|
||||||
|
@flags:
|
||||||
|
@user_data:
|
||||||
|
@user_data_dnotify:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_markup_parse_context_parse ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@context:
|
||||||
|
@text:
|
||||||
|
@text_len:
|
||||||
|
@error:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,9 +27,12 @@ The returned pointer is cast to a pointer to the given type.
|
|||||||
If @count is 0 it returns NULL.
|
If @count is 0 it returns NULL.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@struct_type:
|
||||||
|
@n_structs:
|
||||||
|
@Returns: a pointer to the allocated memory, cast to a pointer to @type.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
@type: the type of the elements to allocate.
|
@type: the type of the elements to allocate.
|
||||||
@count: the number of elements to allocate.
|
@count: the number of elements to allocate.
|
||||||
@Returns: a pointer to the allocated memory, cast to a pointer to @type.
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_new0 ##### -->
|
<!-- ##### MACRO g_new0 ##### -->
|
||||||
@ -39,9 +42,12 @@ The returned pointer is cast to a pointer to the given type.
|
|||||||
If @count is 0 it returns NULL.
|
If @count is 0 it returns NULL.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@struct_type:
|
||||||
|
@n_structs:
|
||||||
|
@Returns: a pointer to the allocated memory, cast to a pointer to @type.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
@type: the type of the elements to allocate.
|
@type: the type of the elements to allocate.
|
||||||
@count: the number of elements to allocate.
|
@count: the number of elements to allocate.
|
||||||
@Returns: a pointer to the allocated memory, cast to a pointer to @type.
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_renew ##### -->
|
<!-- ##### MACRO g_renew ##### -->
|
||||||
@ -51,10 +57,13 @@ Reallocates the memory pointed to by @mem, so that it now has space for
|
|||||||
which may have been moved.
|
which may have been moved.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@type: the type of the elements to allocate.
|
@struct_type:
|
||||||
@mem: the currently allocated memory.
|
@mem: the currently allocated memory.
|
||||||
@count: the number of elements to allocate.
|
@n_structs:
|
||||||
@Returns: a pointer to the new allocated memory, cast to a pointer to @type.
|
@Returns: a pointer to the new allocated memory, cast to a pointer to @type.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@type: the type of the elements to allocate.
|
||||||
|
@count: the number of elements to allocate.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_malloc ##### -->
|
<!-- ##### FUNCTION g_malloc ##### -->
|
||||||
@ -63,8 +72,10 @@ Allocates @size bytes of memory.
|
|||||||
If @size is 0 it returns NULL.
|
If @size is 0 it returns NULL.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@size: the number of bytes to allocate.
|
@n_bytes:
|
||||||
@Returns: a pointer to the allocated memory.
|
@Returns: a pointer to the allocated memory.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@size: the number of bytes to allocate.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_malloc0 ##### -->
|
<!-- ##### FUNCTION g_malloc0 ##### -->
|
||||||
@ -73,8 +84,10 @@ Allocates @size bytes of memory, initialized to 0's.
|
|||||||
If @size is 0 it returns NULL.
|
If @size is 0 it returns NULL.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@size: the number of bytes to allocate.
|
@n_bytes:
|
||||||
@Returns: a pointer to the allocated memory.
|
@Returns: a pointer to the allocated memory.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@size: the number of bytes to allocate.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_realloc ##### -->
|
<!-- ##### FUNCTION g_realloc ##### -->
|
||||||
@ -85,8 +98,10 @@ have been moved.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@mem: the memory to reallocate.
|
@mem: the memory to reallocate.
|
||||||
@size: the new size of the allocated memory, in bytes.
|
@n_bytes:
|
||||||
@Returns: the new address of the allocated memory.
|
@Returns: the new address of the allocated memory.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@size: the new size of the allocated memory, in bytes.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_free ##### -->
|
<!-- ##### FUNCTION g_free ##### -->
|
||||||
|
@ -195,6 +195,15 @@ It is passed the #GModule structure.
|
|||||||
@module: the module about to be unloaded.
|
@module: the module about to be unloaded.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO G_MODULE_SUFFIX ##### -->
|
||||||
|
<para>
|
||||||
|
Expands to the proper shared library suffix for the current platform
|
||||||
|
without the leading dot. For the most Unices and Linux this is "so",
|
||||||
|
for some HPUX versions this is "sl" and for Windows this is "dll".
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_MODULE_EXPORT ##### -->
|
<!-- ##### MACRO G_MODULE_EXPORT ##### -->
|
||||||
<para>
|
<para>
|
||||||
Used to declare functions exported by modules.
|
Used to declare functions exported by modules.
|
||||||
|
@ -70,6 +70,16 @@ accessed through the g_rand_* functions.
|
|||||||
@seed:
|
@seed:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO g_rand_boolean ##### -->
|
||||||
|
<para>
|
||||||
|
Return a random #gboolean from @rand. This corresponds to a unbiased
|
||||||
|
coin toss.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@rand: a #GRand.
|
||||||
|
@Returns: a random #gboolean.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_rand_int ##### -->
|
<!-- ##### FUNCTION g_rand_int ##### -->
|
||||||
|
|
||||||
|
|
||||||
@ -81,12 +91,12 @@ accessed through the g_rand_* functions.
|
|||||||
|
|
||||||
|
|
||||||
@rand:
|
@rand:
|
||||||
@min:
|
|
||||||
@max:
|
|
||||||
@Returns:
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@begin:
|
@begin:
|
||||||
@end:
|
@end:
|
||||||
|
@Returns:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@min:
|
||||||
|
@max:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_rand_double ##### -->
|
<!-- ##### FUNCTION g_rand_double ##### -->
|
||||||
@ -100,12 +110,12 @@ accessed through the g_rand_* functions.
|
|||||||
|
|
||||||
|
|
||||||
@rand:
|
@rand:
|
||||||
@min:
|
|
||||||
@max:
|
|
||||||
@Returns:
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@begin:
|
@begin:
|
||||||
@end:
|
@end:
|
||||||
|
@Returns:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@min:
|
||||||
|
@max:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_random_set_seed ##### -->
|
<!-- ##### FUNCTION g_random_set_seed ##### -->
|
||||||
@ -114,6 +124,14 @@ accessed through the g_rand_* functions.
|
|||||||
@seed:
|
@seed:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO g_random_boolean ##### -->
|
||||||
|
<para>
|
||||||
|
Return a random #gboolean. This corresponds to a unbiased coin toss.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@Returns: a random #gboolean.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_random_int ##### -->
|
<!-- ##### FUNCTION g_random_int ##### -->
|
||||||
|
|
||||||
|
|
||||||
@ -123,12 +141,12 @@ accessed through the g_rand_* functions.
|
|||||||
<!-- ##### FUNCTION g_random_int_range ##### -->
|
<!-- ##### FUNCTION g_random_int_range ##### -->
|
||||||
|
|
||||||
|
|
||||||
@min:
|
|
||||||
@max:
|
|
||||||
@Returns:
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@begin:
|
@begin:
|
||||||
@end:
|
@end:
|
||||||
|
@Returns:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@min:
|
||||||
|
@max:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_random_double ##### -->
|
<!-- ##### FUNCTION g_random_double ##### -->
|
||||||
@ -140,11 +158,11 @@ accessed through the g_rand_* functions.
|
|||||||
<!-- ##### FUNCTION g_random_double_range ##### -->
|
<!-- ##### FUNCTION g_random_double_range ##### -->
|
||||||
|
|
||||||
|
|
||||||
@min:
|
|
||||||
@max:
|
|
||||||
@Returns:
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@begin:
|
@begin:
|
||||||
@end:
|
@end:
|
||||||
|
@Returns:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@min:
|
||||||
|
@max:
|
||||||
|
|
||||||
|
|
||||||
|
@ -83,9 +83,9 @@ Note that this must be called before any records are added to the #GRelation.
|
|||||||
@relation: a #GRelation.
|
@relation: a #GRelation.
|
||||||
@field: the field to index, counting from 0.
|
@field: the field to index, counting from 0.
|
||||||
@hash_func: a function to produce a hash value from the field data.
|
@hash_func: a function to produce a hash value from the field data.
|
||||||
@key_compare_func:
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@key_equal_func: a function to compare two values of the given field.
|
@key_equal_func: a function to compare two values of the given field.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@key_compare_func:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_relation_insert ##### -->
|
<!-- ##### FUNCTION g_relation_insert ##### -->
|
||||||
|
@ -36,13 +36,13 @@ Shell-related Utilities
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@command_line:
|
@command_line:
|
||||||
@argc:
|
@argcp:
|
||||||
@argv:
|
@argvp:
|
||||||
@error:
|
@error:
|
||||||
@Returns:
|
@Returns:
|
||||||
<!-- # Unused Parameters # -->
|
<!-- # Unused Parameters # -->
|
||||||
@argcp:
|
@argc:
|
||||||
@argvp:
|
@argv:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_shell_quote ##### -->
|
<!-- ##### FUNCTION g_shell_quote ##### -->
|
||||||
|
@ -45,6 +45,16 @@ Creates a new #GString, initialized with the given string.
|
|||||||
@Returns: the new #GString.
|
@Returns: the new #GString.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_string_new_len ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@init:
|
||||||
|
@len:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_string_sized_new ##### -->
|
<!-- ##### FUNCTION g_string_sized_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
Creates a new GString, with enough space for @dfl_size characters.
|
Creates a new GString, with enough space for @dfl_size characters.
|
||||||
|
@ -61,6 +61,16 @@ second.
|
|||||||
@Returns: a new #GTree.
|
@Returns: a new #GTree.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_tree_new_with_data ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@key_compare_func:
|
||||||
|
@user_data:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_tree_insert ##### -->
|
<!-- ##### FUNCTION g_tree_insert ##### -->
|
||||||
<para>
|
<para>
|
||||||
Inserts a key/value pair into a #GTree.
|
Inserts a key/value pair into a #GTree.
|
||||||
|
@ -1,48 +1,88 @@
|
|||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:Long_Description ##### -->
|
<!-- ##### FUNCTION g_type_conforms_to ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@type:
|
||||||
|
@iface_type:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_object_class_install_param ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@oclass:
|
||||||
|
@param_id:
|
||||||
|
@pspec:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_param_spec_hash_table_insert ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@hash_table:
|
||||||
|
@pspec:
|
||||||
|
@owner_type:
|
||||||
|
|
||||||
|
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GTypePluginUnRef ##### -->
|
<!-- ##### MACRO G_IS_PARAM_VALUE ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@pspec:
|
||||||
|
@value:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_type_instance_conforms_to ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@instance:
|
||||||
|
@iface_type:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_object_get_param ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@object:
|
||||||
|
@param_name:
|
||||||
|
@value:
|
||||||
|
|
||||||
|
<!-- ##### USER_FUNCTION GTypePluginRef ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@plugin:
|
@plugin:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_signals_destroy ##### -->
|
<!-- ##### FUNCTION g_object_set_param ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@itype:
|
@object:
|
||||||
|
@param_name:
|
||||||
|
@value:
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:Short_Description ##### -->
|
<!-- ##### USER_FUNCTION GObjectGetParamFunc ##### -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GTypePluginVTable ##### -->
|
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@plugin_ref:
|
@object:
|
||||||
@plugin_unref:
|
@param_id:
|
||||||
@complete_type_info:
|
@value:
|
||||||
@complete_interface_info:
|
@pspec:
|
||||||
|
@trailer:
|
||||||
<!-- ##### FUNCTION g_signal_connect_closure ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@instance:
|
|
||||||
@signal_id:
|
|
||||||
@detail:
|
|
||||||
@closure:
|
|
||||||
@after:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
<!-- ##### ENUM GSignalType ##### -->
|
<!-- ##### ENUM GSignalType ##### -->
|
||||||
<para>
|
<para>
|
||||||
@ -56,28 +96,92 @@
|
|||||||
@G_SIGNAL_ACTION:
|
@G_SIGNAL_ACTION:
|
||||||
@G_SIGNAL_NO_HOOKS:
|
@G_SIGNAL_NO_HOOKS:
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GTypePluginFillTypeInfo ##### -->
|
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:Long_Description ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_signal_type_closure_new ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@itype:
|
||||||
|
@struct_offset:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_object_class_find_param_spec ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@oclass:
|
||||||
|
@param_name:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_object_queue_param_changed ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@object:
|
||||||
|
@param_name:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_signal_connect_closure ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@instance:
|
||||||
|
@signal_id:
|
||||||
|
@detail:
|
||||||
|
@closure:
|
||||||
|
@after:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:Title ##### -->
|
||||||
|
gtypemodule.sgml
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### USER_FUNCTION GTypePluginUnRef ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@plugin:
|
@plugin:
|
||||||
@g_type:
|
|
||||||
@info:
|
|
||||||
@value_table:
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:See_Also ##### -->
|
<!-- ##### FUNCTION g_param_spec_hash_table_lookup ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@hash_table:
|
||||||
|
@param_name:
|
||||||
|
@owner_type:
|
||||||
|
@try_ancestors:
|
||||||
|
@trailer:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GTypePluginRef ##### -->
|
<!-- ##### USER_FUNCTION GObjectSetParamFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@plugin:
|
@object:
|
||||||
|
@param_id:
|
||||||
|
@value:
|
||||||
|
@pspec:
|
||||||
|
@trailer:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_type_value_conforms_to ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@value:
|
||||||
|
@type:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_signal_handlers_destroy ##### -->
|
<!-- ##### FUNCTION g_signal_handlers_destroy ##### -->
|
||||||
<para>
|
<para>
|
||||||
@ -95,9 +199,32 @@
|
|||||||
@flags:
|
@flags:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:Title ##### -->
|
<!-- ##### USER_FUNCTION GTypePluginFillTypeInfo ##### -->
|
||||||
gtypemodule.sgml
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@plugin:
|
||||||
|
@g_type:
|
||||||
|
@info:
|
||||||
|
@value_table:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_signals_destroy ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@itype:
|
||||||
|
|
||||||
|
<!-- ##### STRUCT GTypePluginVTable ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@plugin_ref:
|
||||||
|
@plugin_unref:
|
||||||
|
@complete_type_info:
|
||||||
|
@complete_interface_info:
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GTypePluginFillInterfaceInfo ##### -->
|
<!-- ##### USER_FUNCTION GTypePluginFillInterfaceInfo ##### -->
|
||||||
<para>
|
<para>
|
||||||
@ -109,3 +236,37 @@ gtypemodule.sgml
|
|||||||
@instance_type:
|
@instance_type:
|
||||||
@info:
|
@info:
|
||||||
|
|
||||||
|
<!-- ##### MACRO G_NOTIFY_PRIORITY ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO G_WARN_INVALID_PARAM_ID ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@object:
|
||||||
|
@param_id:
|
||||||
|
@pspec:
|
||||||
|
|
||||||
|
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:Short_Description ##### -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_param_spec_hash_table_new ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_param_spec_hash_table_remove ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@hash_table:
|
||||||
|
@pspec:
|
||||||
|
|
||||||
|
@ -115,37 +115,6 @@ The Base Object Type
|
|||||||
@class:
|
@class:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_NOTIFY_PRIORITY ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GObjectGetParamFunc ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@object:
|
|
||||||
@param_id:
|
|
||||||
@value:
|
|
||||||
@pspec:
|
|
||||||
@trailer:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GObjectSetParamFunc ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@object:
|
|
||||||
@param_id:
|
|
||||||
@value:
|
|
||||||
@pspec:
|
|
||||||
@trailer:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GObjectFinalizeFunc ##### -->
|
<!-- ##### USER_FUNCTION GObjectFinalizeFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -154,35 +123,17 @@ The Base Object Type
|
|||||||
@object:
|
@object:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_class_install_param ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@oclass:
|
|
||||||
@param_id:
|
|
||||||
@pspec:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_class_find_param_spec ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@oclass:
|
|
||||||
@param_name:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_new ##### -->
|
<!-- ##### FUNCTION g_object_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@object_type:
|
@object_type:
|
||||||
@first_param_name:
|
@first_property_name:
|
||||||
@Varargs:
|
@Varargs:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@first_param_name:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_new_valist ##### -->
|
<!-- ##### FUNCTION g_object_new_valist ##### -->
|
||||||
@ -191,9 +142,11 @@ The Base Object Type
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@object_type:
|
@object_type:
|
||||||
@first_param_name:
|
@first_property_name:
|
||||||
@var_args:
|
@var_args:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@first_param_name:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_set ##### -->
|
<!-- ##### FUNCTION g_object_set ##### -->
|
||||||
@ -202,8 +155,10 @@ The Base Object Type
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@object:
|
@object:
|
||||||
@first_param_name:
|
@first_property_name:
|
||||||
@Varargs:
|
@Varargs:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@first_param_name:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_get ##### -->
|
<!-- ##### FUNCTION g_object_get ##### -->
|
||||||
@ -212,8 +167,10 @@ The Base Object Type
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@object:
|
@object:
|
||||||
@first_param_name:
|
@first_property_name:
|
||||||
@Varargs:
|
@Varargs:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@first_param_name:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_set_valist ##### -->
|
<!-- ##### FUNCTION g_object_set_valist ##### -->
|
||||||
@ -222,8 +179,10 @@ The Base Object Type
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@object:
|
@object:
|
||||||
@first_param_name:
|
@first_property_name:
|
||||||
@var_args:
|
@var_args:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@first_param_name:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_get_valist ##### -->
|
<!-- ##### FUNCTION g_object_get_valist ##### -->
|
||||||
@ -232,37 +191,10 @@ The Base Object Type
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@object:
|
@object:
|
||||||
@first_param_name:
|
@first_property_name:
|
||||||
@var_args:
|
@var_args:
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@first_param_name:
|
||||||
<!-- ##### FUNCTION g_object_set_param ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@object:
|
|
||||||
@param_name:
|
|
||||||
@value:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_get_param ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@object:
|
|
||||||
@param_name:
|
|
||||||
@value:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_queue_param_changed ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@object:
|
|
||||||
@param_name:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_object_ref ##### -->
|
<!-- ##### FUNCTION g_object_ref ##### -->
|
||||||
@ -350,13 +282,3 @@ The Base Object Type
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_WARN_INVALID_PARAM_ID ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@object:
|
|
||||||
@param_id:
|
|
||||||
@pspec:
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,11 +19,12 @@ Parameter Specifications
|
|||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@g_instance:
|
@g_type_instance:
|
||||||
@name:
|
@name:
|
||||||
@nick:
|
@nick:
|
||||||
@blurb:
|
@blurb:
|
||||||
@flags:
|
@flags:
|
||||||
|
@value_type:
|
||||||
|
|
||||||
<!-- ##### STRUCT GParamSpecClass ##### -->
|
<!-- ##### STRUCT GParamSpecClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
@ -71,15 +72,6 @@ Parameter Specifications
|
|||||||
@pspec:
|
@pspec:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_IS_PARAM_VALUE ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@pspec:
|
|
||||||
@value:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_PARAM_SPEC_VALUE_TYPE ##### -->
|
<!-- ##### MACRO G_PARAM_SPEC_VALUE_TYPE ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -103,8 +95,9 @@ Parameter Specifications
|
|||||||
|
|
||||||
@G_PARAM_READABLE:
|
@G_PARAM_READABLE:
|
||||||
@G_PARAM_WRITABLE:
|
@G_PARAM_WRITABLE:
|
||||||
@G_PARAM_MASK:
|
@G_PARAM_CONSTRUCT:
|
||||||
@G_PARAM_USER_MASK:
|
@G_PARAM_CONSTRUCT_ONLY:
|
||||||
|
@G_PARAM_PRIVATE:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_param_spec_ref ##### -->
|
<!-- ##### FUNCTION g_param_spec_ref ##### -->
|
||||||
<para>
|
<para>
|
||||||
@ -217,43 +210,3 @@ Parameter Specifications
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_param_spec_hash_table_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_param_spec_hash_table_insert ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@hash_table:
|
|
||||||
@pspec:
|
|
||||||
@owner_type:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_param_spec_hash_table_remove ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@hash_table:
|
|
||||||
@pspec:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_param_spec_hash_table_lookup ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@hash_table:
|
|
||||||
@param_name:
|
|
||||||
@owner_type:
|
|
||||||
@try_ancestors:
|
|
||||||
@trailer:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -418,16 +418,6 @@ otherwise.
|
|||||||
@detail:
|
@detail:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_signal_type_closure_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@itype:
|
|
||||||
@struct_offset:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_signal_add_emission_hook_full ##### -->
|
<!-- ##### FUNCTION g_signal_add_emission_hook_full ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -349,7 +349,6 @@ Standard Parameter Types
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@parent_instance:
|
@parent_instance:
|
||||||
@object_type:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_param_spec_char ##### -->
|
<!-- ##### FUNCTION g_param_spec_char ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@ -82,6 +82,7 @@ GType
|
|||||||
@G_TYPE_PARAM:
|
@G_TYPE_PARAM:
|
||||||
@G_TYPE_BOXED:
|
@G_TYPE_BOXED:
|
||||||
@G_TYPE_POINTER:
|
@G_TYPE_POINTER:
|
||||||
|
@G_TYPE_CCALLBACK:
|
||||||
@G_TYPE_OBJECT:
|
@G_TYPE_OBJECT:
|
||||||
@G_TYPE_GTK_SIGNAL:
|
@G_TYPE_GTK_SIGNAL:
|
||||||
@G_TYPE_BSE_PROCEDURE:
|
@G_TYPE_BSE_PROCEDURE:
|
||||||
@ -102,6 +103,10 @@ GType
|
|||||||
@G_TYPE_PARAM_FLOAT:
|
@G_TYPE_PARAM_FLOAT:
|
||||||
@G_TYPE_PARAM_DOUBLE:
|
@G_TYPE_PARAM_DOUBLE:
|
||||||
@G_TYPE_PARAM_STRING:
|
@G_TYPE_PARAM_STRING:
|
||||||
|
@G_TYPE_PARAM_PARAM:
|
||||||
|
@G_TYPE_PARAM_POINTER:
|
||||||
|
@G_TYPE_PARAM_CCALLBACK:
|
||||||
|
@G_TYPE_PARAM_BOXED:
|
||||||
@G_TYPE_PARAM_OBJECT:
|
@G_TYPE_PARAM_OBJECT:
|
||||||
|
|
||||||
<!-- ##### MACRO G_TYPE_IS_CLASSED ##### -->
|
<!-- ##### MACRO G_TYPE_IS_CLASSED ##### -->
|
||||||
@ -337,16 +342,6 @@ GType
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_conforms_to ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@type:
|
|
||||||
@iface_type:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_fundamental_branch_last ##### -->
|
<!-- ##### FUNCTION g_type_fundamental_branch_last ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -606,16 +601,6 @@ GType
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_instance_conforms_to ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@instance:
|
|
||||||
@iface_type:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_check_flags ##### -->
|
<!-- ##### FUNCTION g_type_check_flags ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -713,13 +698,3 @@ GType
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_value_conforms_to ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@value:
|
|
||||||
@type:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user