Several docs cleanups

This commit is contained in:
Ryan Lortie 2011-10-06 12:19:58 -04:00
parent 94b7d2ee6c
commit 083812f854
4 changed files with 21 additions and 1 deletions

View File

@ -902,6 +902,7 @@ g_io_channel_win32_make_pollfd
g_io_channel_win32_get_fd g_io_channel_win32_get_fd
g_io_channel_error_quark g_io_channel_error_quark
g_io_watch_funcs g_io_watch_funcs
G_IO_FLAG_IS_WRITEABLE
</SECTION> </SECTION>
<SECTION> <SECTION>
@ -1220,6 +1221,7 @@ g_dir_close
<SUBSECTION> <SUBSECTION>
GMappedFile GMappedFile
g_mapped_file_new g_mapped_file_new
g_mapped_file_new_from_fd
g_mapped_file_ref g_mapped_file_ref
g_mapped_file_unref g_mapped_file_unref
g_mapped_file_free g_mapped_file_free
@ -1362,6 +1364,7 @@ g_strsignal
<SUBSECTION Private> <SUBSECTION Private>
GAsciiType GAsciiType
g_ascii_table
</SECTION> </SECTION>
<SECTION> <SECTION>
@ -2738,6 +2741,9 @@ g_utf16_to_utf8
g_ucs4_to_utf16 g_ucs4_to_utf16
g_ucs4_to_utf8 g_ucs4_to_utf8
g_unichar_to_utf8 g_unichar_to_utf8
<SUBSECTION Private>
g_utf8_skip
</SECTION> </SECTION>
<SECTION> <SECTION>
@ -2901,6 +2907,8 @@ g_assertion_message_cmpstr
g_assertion_message_cmpnum g_assertion_message_cmpnum
g_assertion_message_error g_assertion_message_error
g_test_config_vars
g_test_add_vtable g_test_add_vtable
GTestConfig GTestConfig
GTestLogType GTestLogType

View File

@ -34,6 +34,17 @@
/* {{{1 Documentation */ /* {{{1 Documentation */
/**
* SECTION:threads-deprecated
* @title: Deprecated thread API
* @short_description: old thread APIs (for reference only)
* @see_also: #GThread
*
* These APIs are deprecated. You should not use them in new code.
* This section remains only to assist with understanding code that was
* written to use these APIs at some point in the past.
**/
/** /**
* GThreadPriority: * GThreadPriority:
* @G_THREAD_PRIORITY_LOW: a priority lower than normal * @G_THREAD_PRIORITY_LOW: a priority lower than normal

View File

@ -86,6 +86,7 @@ struct _GRecMutex
#define G_PRIVATE_INIT(notify) { NULL, (notify), { NULL, NULL } } #define G_PRIVATE_INIT(notify) { NULL, (notify), { NULL, NULL } }
struct _GPrivate struct _GPrivate
{ {
/*< private >*/
gpointer p; gpointer p;
GDestroyNotify notify; GDestroyNotify notify;
gpointer future[2]; gpointer future[2];

View File

@ -93,7 +93,7 @@ GVariant * g_variant_new_bytestring_array (const g
gssize length); gssize length);
GVariant * g_variant_new_fixed_array (const GVariantType *element_type, GVariant * g_variant_new_fixed_array (const GVariantType *element_type,
gconstpointer elements, gconstpointer elements,
gsize num_elements, gsize n_elements,
gsize element_size); gsize element_size);
gboolean g_variant_get_boolean (GVariant *value); gboolean g_variant_get_boolean (GVariant *value);
guchar g_variant_get_byte (GVariant *value); guchar g_variant_get_byte (GVariant *value);