mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-26 03:47:52 +02:00
Update the docs for the new network APIs
This imports the network APIs into the gio reference docs, and cleans up a bunch of gtk-doc warnings and documentation issues.
This commit is contained in:
@@ -900,6 +900,73 @@ Turns the argument into a string literal by using the '#' stringizing operator.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_binary_age ##### -->
|
||||
<para>
|
||||
This is the binary age passed to <application>libtool</application>. If
|
||||
<application>libtool</application> means nothing to you, don't worry
|
||||
about it. ;-)
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION glib_check_version ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@required_major:
|
||||
@required_minor:
|
||||
@required_micro:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### VARIABLE glib_interface_age ##### -->
|
||||
<para>
|
||||
This is the interface age passed to <application>libtool</application>. If
|
||||
<application>libtool</application> means nothing to you, don't worry
|
||||
about it. ;-)
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_major_version ##### -->
|
||||
<para>
|
||||
The major version number of the GLib library.
|
||||
(e.g. in GLib version 1.2.5 this is 1.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the
|
||||
GLib library you have linked against. Contrast with the
|
||||
#GLIB_MAJOR_VERSION macro, which represents the major version of the
|
||||
GLib headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_micro_version ##### -->
|
||||
<para>
|
||||
The micro version number of the GLib library.
|
||||
(e.g. in GLib version 1.2.5 this is 5.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the GLib library you
|
||||
have linked against. Contrast with the #GLIB_MICRO_VERSION macro, which
|
||||
represents the micro version of the GLib headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_minor_version ##### -->
|
||||
<para>
|
||||
The minor version number of the GLib library.
|
||||
(e.g. in GLib version 1.2.5 this is 2.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the
|
||||
GLib library you have linked against. Contrast with the
|
||||
#GLIB_MINOR_VERSION macro, which represents the minor version of the
|
||||
GLib headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO lseek ##### -->
|
||||
<para>
|
||||
|
||||
|
@@ -403,7 +403,7 @@ Since: 2.14
|
||||
|
||||
|
||||
|
||||
<!-- ##### FUNCTION G_LIKELY ##### -->
|
||||
<!-- ##### MACRO G_LIKELY ##### -->
|
||||
<para>
|
||||
Hints the compiler that the expression is likely to evaluate to a true
|
||||
value. The compiler may use this information for optimizations.
|
||||
@@ -413,10 +413,9 @@ if (G_LIKELY (random () != 1))
|
||||
g_print ("not one");
|
||||
</programlisting></informalexample>
|
||||
|
||||
@expr: the expression
|
||||
@Returns: the value of @expr
|
||||
@Since: 2.2
|
||||
<!-- # Unused Parameters # -->
|
||||
@expr: the expression
|
||||
|
||||
|
||||
<!-- ##### MACRO G_UNLIKELY ##### -->
|
||||
|
@@ -19,74 +19,6 @@ typically use the features described here.
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_major_version ##### -->
|
||||
<para>
|
||||
The major version number of the GLib library.
|
||||
(e.g. in GLib version 1.2.5 this is 1.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the
|
||||
GLib library you have linked against. Contrast with the
|
||||
#GLIB_MAJOR_VERSION macro, which represents the major version of the
|
||||
GLib headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_minor_version ##### -->
|
||||
<para>
|
||||
The minor version number of the GLib library.
|
||||
(e.g. in GLib version 1.2.5 this is 2.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the
|
||||
GLib library you have linked against. Contrast with the
|
||||
#GLIB_MINOR_VERSION macro, which represents the minor version of the
|
||||
GLib headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_micro_version ##### -->
|
||||
<para>
|
||||
The micro version number of the GLib library.
|
||||
(e.g. in GLib version 1.2.5 this is 5.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the GLib library you
|
||||
have linked against. Contrast with the #GLIB_MICRO_VERSION macro, which
|
||||
represents the micro version of the GLib headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_binary_age ##### -->
|
||||
<para>
|
||||
This is the binary age passed to <application>libtool</application>. If
|
||||
<application>libtool</application> means nothing to you, don't worry
|
||||
about it. ;-)
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE glib_interface_age ##### -->
|
||||
<para>
|
||||
This is the interface age passed to <application>libtool</application>. If
|
||||
<application>libtool</application> means nothing to you, don't worry
|
||||
about it. ;-)
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION glib_check_version ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@required_major:
|
||||
@required_minor:
|
||||
@required_micro:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### MACRO GLIB_MAJOR_VERSION ##### -->
|
||||
<para>
|
||||
The major version number of the GLib library.
|
||||
|
Reference in New Issue
Block a user