From 29cff66fc198c6dd6955d3c9810137b2bcb06fe5 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Fri, 5 Jan 2001 20:48:43 +0000 Subject: [PATCH] Updated. Fri Jan 5 15:47:10 2001 Owen Taylor * glib/glib-sections.txt glib/tmpl/* glib/Makefile.am: Updated. --- docs/reference/ChangeLog | 4 + docs/reference/glib/Makefile.am | 1 + docs/reference/glib/glib-sections.txt | 52 ++- docs/reference/glib/tmpl/completion.sgml | 20 ++ docs/reference/glib/tmpl/conversions.sgml | 12 + docs/reference/glib/tmpl/glib-unused.sgml | 141 ++++---- docs/reference/glib/tmpl/macros.sgml | 14 + docs/reference/glib/tmpl/macros_misc.sgml | 1 - docs/reference/glib/tmpl/main.sgml | 42 ++- docs/reference/glib/tmpl/memory.sgml | 56 +++- docs/reference/glib/tmpl/misc_utils.sgml | 23 ++ docs/reference/glib/tmpl/string_utils.sgml | 9 + docs/reference/glib/tmpl/unicode.sgml | 73 ++++ .../gobject/tmpl/gobject-unused.sgml | 314 +++++++++--------- 14 files changed, 521 insertions(+), 241 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 92634cf2f..4ff0629e5 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +Fri Jan 5 15:47:10 2001 Owen Taylor + + * glib/glib-sections.txt glib/tmpl/* glib/Makefile.am: Updated. + 2000-12-22 Sebastian Wilhelmi * glib/glib-sections.txt: Added G_MODULE_SUFFIX. diff --git a/docs/reference/glib/Makefile.am b/docs/reference/glib/Makefile.am index 08bc53521..a683112f1 100644 --- a/docs/reference/glib/Makefile.am +++ b/docs/reference/glib/Makefile.am @@ -17,6 +17,7 @@ IGNORE_HFILES= \ gobject \ config.h \ gmoduleconf.h \ + gunibreak.h \ gunidecomp.h \ gunichartables.h \ glibconfig-sysdefs.h diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt index bc595353d..aa398f065 100644 --- a/docs/reference/glib/glib-sections.txt +++ b/docs/reference/glib/glib-sections.txt @@ -42,6 +42,8 @@ gssize gstring gldouble +GLIB_SIZEOF_VOID_P +GLIB_SIZEOF_LONG
@@ -111,6 +113,12 @@ G_STRUCT_MEMBER G_STRUCT_MEMBER_P G_STRUCT_OFFSET + +G_MEM_ALIGN + + +G_CONST_RETURN + glib_major_version glib_micro_version @@ -320,7 +328,8 @@ g_clear_error main GMainLoop g_main_loop_new -g_main_loop_destroy +g_main_loop_ref +g_main_loop_unref g_main_loop_run g_main_loop_quit g_main_loop_is_running @@ -380,7 +389,7 @@ GSourceCallbackFuncs g_source_new g_source_ref g_source_unref -g_source_add +g_source_attach g_source_destroy g_source_set_priority g_source_get_priority @@ -388,9 +397,9 @@ g_source_set_can_recurse g_source_get_can_recurse g_source_get_id g_source_get_context -g_source_connect +g_source_set_callback GSourceFunc -g_source_connect_indirect +g_source_set_callback_indirect g_source_add_poll g_source_remove_poll g_source_get_current_time @@ -513,9 +522,6 @@ G_THREAD_ECF G_THREAD_CF G_THREAD_UF g_static_mutex_get_mutex_impl -g_mutex_lock_with_debug_name -g_mutex_trylock_with_debug_name -g_mutex_unlock_with_debug_name G_MUTEX_DEBUG_MAGIC g_thread_init_with_errorcheck_mutexes G_LOCK_NAME @@ -623,6 +629,8 @@ g_renew g_malloc g_malloc0 g_realloc +g_try_malloc +g_try_realloc g_free @@ -635,8 +643,12 @@ g_memmove g_memdup +GMemVTable +g_mem_set_vtable + + +glib_mem_profiler_table g_mem_profile -g_mem_check
@@ -784,6 +796,7 @@ g_file_error_quark string_utils g_strdup g_strndup +g_strdupv g_strnfill @@ -908,6 +921,19 @@ g_date_valid_year g_date_valid_dmy g_date_valid_julian g_date_valid_weekday + + +g_date_weekday +g_date_month +g_date_year +g_date_day +g_date_julian +g_date_day_of_year +g_date_monday_week_of_year +g_date_sunday_week_of_year +g_date_days_in_month +g_date_monday_weeks_in_year +g_date_sunday_weeks_in_year
@@ -1011,6 +1037,10 @@ GDebugKey GVoidFunc GFreeFunc + +GCompareFuncData +g_qsort_with_data + G_NATIVE_ATEXIT g_ATEXIT @@ -1105,11 +1135,12 @@ G_MODULE_IMPORT GCompletion g_completion_new GCompletionFunc -GCompletionStrcmpFunc g_completion_add_items g_completion_remove_items g_completion_clear_items g_completion_complete +g_completion_set_compare +GCompletionStrncmpFunc g_completion_free
@@ -1689,6 +1720,8 @@ g_unichar_digit_value g_unichar_xdigit_value GUnicodeType g_unichar_type +GUnicodeBreakType +g_unichar_break_type g_unicode_canonical_ordering g_unicode_canonical_decomposition @@ -1709,6 +1742,7 @@ g_utf8_validate g_utf8_to_utf16 g_utf8_to_ucs4 +g_utf8_to_ucs4_fast g_utf16_to_ucs4 g_utf16_to_utf8 g_ucs4_to_utf16 diff --git a/docs/reference/glib/tmpl/completion.sgml b/docs/reference/glib/tmpl/completion.sgml index a6b26ced3..6868433ad 100644 --- a/docs/reference/glib/tmpl/completion.sgml +++ b/docs/reference/glib/tmpl/completion.sgml @@ -112,6 +112,26 @@ This string should be freed when no longer needed. not be changed. + + + + + +@cmp: +@strncmp_func: + + + + + + + +@s1: +@s2: +@n: +@Returns: + + Frees all memory used by the #GCompletion. diff --git a/docs/reference/glib/tmpl/conversions.sgml b/docs/reference/glib/tmpl/conversions.sgml index 5ce913357..e8a2c87e0 100644 --- a/docs/reference/glib/tmpl/conversions.sgml +++ b/docs/reference/glib/tmpl/conversions.sgml @@ -90,6 +90,9 @@ Character Set Conversion @opsysstring: +@len: +@bytes_read: +@bytes_written: @error: @Returns: @@ -100,6 +103,9 @@ Character Set Conversion @opsysstring: +@len: +@bytes_read: +@bytes_written: @error: @Returns: @@ -110,6 +116,9 @@ Character Set Conversion @utf8string: +@len: +@bytes_read: +@bytes_written: @error: @Returns: @@ -120,6 +129,9 @@ Character Set Conversion @utf8string: +@len: +@bytes_read: +@bytes_written: @error: @Returns: diff --git a/docs/reference/glib/tmpl/glib-unused.sgml b/docs/reference/glib/tmpl/glib-unused.sgml index 087b5a875..10e64c4b5 100644 --- a/docs/reference/glib/tmpl/glib-unused.sgml +++ b/docs/reference/glib/tmpl/glib-unused.sgml @@ -1,19 +1,60 @@ - + + +Checks if the given memory has already been freed. If it has it outputs +a warning message. +To use this function you must configure glib with the flag +'--enable-mem-check=yes' before compiling. + + +@mem: the memory to check. + + + +Removes a file descriptor from the list being polled. + + +@fd: the #GPollFD to remove. + + @source: -@callback_data: -@callback_funcs: +@func: +@data: +@notify: - + - + + + + + +@loop: + + + + + + +@s1: +@s2: +@Returns: + + + + + + +@Returns: + + @@ -35,13 +76,35 @@ the results may be needed. See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH, #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW. - + - + + + + + +@source: +@callback_data: +@callback_funcs: + + + +Turns the argument into a string literal by using the '#' stringizing operator. + + +@x: text to convert to a literal string. + + + + + + + + @@ -60,7 +123,13 @@ priority are stored in the order in which they were added. type of source. @Returns: TRUE if an event source was found and removed. - + + + + + + + @@ -86,24 +155,11 @@ type of source. - + -@s1: -@s2: -@Returns: - - - - - - -@source: -@func: -@data: -@notify: @@ -111,32 +167,12 @@ type of source. - + - - -Removes a file descriptor from the list being polled. - - -@fd: the #GPollFD to remove. - - - - - - - - - -Turns the argument into a string literal by using the '#' stringizing operator. - - -@x: text to convert to a literal string. - @@ -144,22 +180,3 @@ Turns the argument into a string literal by using the '#' stringizing operator. @Returns: - - - - - - - - - - - -@Returns: - - - - - - - diff --git a/docs/reference/glib/tmpl/macros.sgml b/docs/reference/glib/tmpl/macros.sgml index 3664e187c..9c016c0d1 100644 --- a/docs/reference/glib/tmpl/macros.sgml +++ b/docs/reference/glib/tmpl/macros.sgml @@ -226,3 +226,17 @@ Returns the offset, in bytes, of a member of a struct. @Returns: the offset of @member from the start of @struct_type. + + + + + + + + + + + + + + diff --git a/docs/reference/glib/tmpl/macros_misc.sgml b/docs/reference/glib/tmpl/macros_misc.sgml index 994ffb730..a7768c733 100644 --- a/docs/reference/glib/tmpl/macros_misc.sgml +++ b/docs/reference/glib/tmpl/macros_misc.sgml @@ -66,7 +66,6 @@ only one statement is expected by the compiler. Portable way to copy va_list variables. - @ap1: the va_list variable to place a copy of @ap2 in. @ap2: a va_list. diff --git a/docs/reference/glib/tmpl/main.sgml b/docs/reference/glib/tmpl/main.sgml index dacd838bf..90d81269e 100644 --- a/docs/reference/glib/tmpl/main.sgml +++ b/docs/reference/glib/tmpl/main.sgml @@ -119,7 +119,16 @@ of a GLib or GTK+ application. @Returns: - + + + + + +@loop: +@Returns: + + + @@ -673,6 +682,16 @@ the required condition has been met, and returns TRUE if so. @source: + + + + + +@source: +@context: +@Returns: + + @@ -735,6 +754,17 @@ the required condition has been met, and returns TRUE if so. @Returns: + + + + + +@source: +@func: +@data: +@notify: + + Specifies the type of function passed to g_timeout_add(), g_timeout_add_full(), @@ -746,6 +776,16 @@ of the above functions. @Returns: it should return FALSE if the source should be removed. + + + + + +@source: +@callback_data: +@callback_funcs: + + diff --git a/docs/reference/glib/tmpl/memory.sgml b/docs/reference/glib/tmpl/memory.sgml index 20e64f2ac..ba5060a8f 100644 --- a/docs/reference/glib/tmpl/memory.sgml +++ b/docs/reference/glib/tmpl/memory.sgml @@ -104,6 +104,25 @@ have been moved. @size: the new size of the allocated memory, in bytes. + + + + + +@n_bytes: +@Returns: + + + + + + + +@mem: +@n_bytes: +@Returns: + + Frees the memory pointed to by @mem. @@ -150,6 +169,32 @@ from @mem. If @mem is NULL it returns NULL. is NULL. + + + + + +@malloc: +@realloc: +@free: +@calloc: +@try_malloc: +@try_realloc: + + + + + + +@vtable: + + + + + + + + Outputs a summary of memory usage. @@ -166,14 +211,3 @@ still in use. - - -Checks if the given memory has already been freed. If it has it outputs -a warning message. -To use this function you must configure glib with the flag -'--enable-mem-check=yes' before compiling. - - -@mem: the memory to check. - - diff --git a/docs/reference/glib/tmpl/misc_utils.sgml b/docs/reference/glib/tmpl/misc_utils.sgml index 545da9cfc..522d9bbf5 100644 --- a/docs/reference/glib/tmpl/misc_utils.sgml +++ b/docs/reference/glib/tmpl/misc_utils.sgml @@ -278,3 +278,26 @@ and has no return value. It is not currently used in GLib or GTK+. @data: + + + + + +@a: +@b: +@user_data: +@Returns: + + + + + + + +@pbase: +@total_elems: +@size: +@compare_func: +@user_data: + + diff --git a/docs/reference/glib/tmpl/string_utils.sgml b/docs/reference/glib/tmpl/string_utils.sgml index 91582c816..7ee490600 100644 --- a/docs/reference/glib/tmpl/string_utils.sgml +++ b/docs/reference/glib/tmpl/string_utils.sgml @@ -39,6 +39,15 @@ The returned value should be freed when no longer needed. null-terminated. + + + + + +@str_array: +@Returns: + + Creates a new string @length characters long filled with @fill_char. diff --git a/docs/reference/glib/tmpl/unicode.sgml b/docs/reference/glib/tmpl/unicode.sgml index 981634d4f..9b99884f0 100644 --- a/docs/reference/glib/tmpl/unicode.sgml +++ b/docs/reference/glib/tmpl/unicode.sgml @@ -251,6 +251,50 @@ Unicode Manipulation @Returns: + + + + + +@G_UNICODE_BREAK_MANDATORY: +@G_UNICODE_BREAK_CARRIAGE_RETURN: +@G_UNICODE_BREAK_LINE_FEED: +@G_UNICODE_BREAK_COMBINING_MARK: +@G_UNICODE_BREAK_SURROGATE: +@G_UNICODE_BREAK_ZERO_WIDTH_SPACE: +@G_UNICODE_BREAK_INSEPARABLE: +@G_UNICODE_BREAK_NON_BREAKING_GLUE: +@G_UNICODE_BREAK_CONTINGENT: +@G_UNICODE_BREAK_SPACE: +@G_UNICODE_BREAK_AFTER: +@G_UNICODE_BREAK_BEFORE: +@G_UNICODE_BREAK_BEFORE_AND_AFTER: +@G_UNICODE_BREAK_HYPHEN: +@G_UNICODE_BREAK_NON_STARTER: +@G_UNICODE_BREAK_OPEN_PUNCTUATION: +@G_UNICODE_BREAK_CLOSE_PUNCTUATION: +@G_UNICODE_BREAK_QUOTATION: +@G_UNICODE_BREAK_EXCLAMATION: +@G_UNICODE_BREAK_IDEOGRAPHIC: +@G_UNICODE_BREAK_NUMERIC: +@G_UNICODE_BREAK_INFIX_SEPARATOR: +@G_UNICODE_BREAK_SYMBOL: +@G_UNICODE_BREAK_ALPHABETIC: +@G_UNICODE_BREAK_PREFIX: +@G_UNICODE_BREAK_POSTFIX: +@G_UNICODE_BREAK_COMPLEX_CONTEXT: +@G_UNICODE_BREAK_AMBIGUOUS: +@G_UNICODE_BREAK_UNKNOWN: + + + + + + +@c: +@Returns: + + @@ -403,6 +447,9 @@ Unicode Manipulation @str: @len: +@items_read: +@items_written: +@error: @Returns: @@ -413,6 +460,20 @@ Unicode Manipulation @str: @len: +@items_read: +@items_written: +@error: +@Returns: + + + + + + + +@str: +@len: +@items_written: @Returns: @@ -423,6 +484,9 @@ Unicode Manipulation @str: @len: +@items_read: +@items_written: +@error: @Returns: @@ -433,6 +497,9 @@ Unicode Manipulation @str: @len: +@items_read: +@items_written: +@error: @Returns: @@ -443,6 +510,9 @@ Unicode Manipulation @str: @len: +@items_read: +@items_written: +@error: @Returns: @@ -453,6 +523,9 @@ Unicode Manipulation @str: @len: +@items_read: +@items_written: +@error: @Returns: diff --git a/docs/reference/gobject/tmpl/gobject-unused.sgml b/docs/reference/gobject/tmpl/gobject-unused.sgml index 10426afd6..f1edbd47e 100644 --- a/docs/reference/gobject/tmpl/gobject-unused.sgml +++ b/docs/reference/gobject/tmpl/gobject-unused.sgml @@ -1,69 +1,3 @@ - - - - - -@type: -@iface_type: -@Returns: - - - - - - -@oclass: -@param_id: -@pspec: - - - - - - -@hash_table: -@pspec: -@owner_type: - - - - - - - - - - - - -@pspec: -@value: - - - - - - -@instance: -@iface_type: -@Returns: - - - - - - -@object: -@param_name: -@value: - - - - - - -@plugin: - @@ -73,28 +7,13 @@ @param_name: @value: - + -@object: -@param_id: -@value: +@hash_table: @pspec: -@trailer: - - - - - - -@G_SIGNAL_RUN_FIRST: -@G_SIGNAL_RUN_LAST: -@G_SIGNAL_RUN_CLEANUP: -@G_SIGNAL_NO_RECURSE: -@G_SIGNAL_ACTION: -@G_SIGNAL_NO_HOOKS: @@ -102,31 +21,40 @@ - + + + + + +@plugin: + + @itype: -@struct_offset: -@Returns: - + -@oclass: -@param_name: @Returns: - + + + + + -@object: -@param_name: +@plugin_ref: +@plugin_unref: +@complete_type_info: +@complete_interface_info: @@ -140,27 +68,82 @@ @after: @Returns: - -gtypemodule.sgml + + + + + +@itype: +@struct_offset: +@Returns: + + + + + + +@object: +@param_id: +@pspec: + + + + + + +@G_SIGNAL_RUN_FIRST: +@G_SIGNAL_RUN_LAST: +@G_SIGNAL_RUN_CLEANUP: +@G_SIGNAL_NO_RECURSE: +@G_SIGNAL_ACTION: +@G_SIGNAL_NO_HOOKS: + + + + + + +@hash_table: +@pspec: +@owner_type: + + + + + + +@plugin: +@g_type: +@info: +@value_table: + + + + + - + @plugin: - + -@hash_table: -@param_name: -@owner_type: -@try_ancestors: -@trailer: +@instance: + + + + + + +@instance: +@iface_type: @Returns: @@ -174,22 +157,6 @@ gtypemodule.sgml @pspec: @trailer: - - - - - -@value: -@type: -@Returns: - - - - - - -@instance: - @@ -199,32 +166,90 @@ gtypemodule.sgml @flags: @Returns: - + -@plugin: -@g_type: -@info: -@value_table: +@value: +@type: +@Returns: - + -@itype: +@hash_table: +@param_name: +@owner_type: +@try_ancestors: +@trailer: +@Returns: - + +gtypemodule.sgml + + + -@plugin_ref: -@plugin_unref: -@complete_type_info: -@complete_interface_info: +@object: +@param_name: + + + + + + +@object: +@param_id: +@value: +@pspec: +@trailer: + + + + + + +@pspec: +@value: + + + + + + +@oclass: +@param_id: +@pspec: + + + + + + + + + + + + +@object: +@param_name: +@value: + + + + + + +@type: +@iface_type: +@Returns: @@ -236,37 +261,12 @@ gtypemodule.sgml @instance_type: @info: - - - - - - - - - - - -@object: -@param_id: -@pspec: - - - - - - + +@oclass: +@param_name: @Returns: - - - - - -@hash_table: -@pspec: -