mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
docs: Fix links to symbols outside the allowed namsepace
Use markdown links for anything that the docs don't depend upon, like gtk, pixbuf, etc
This commit is contained in:
@@ -14,7 +14,7 @@ The [type@GLib.Quark] methods are quicker, since the strings have to be
|
||||
converted to [type@GLib.Quark]s anyway.
|
||||
|
||||
Data lists are used for associating arbitrary data with
|
||||
[class@GObject.Object]s, using [method@GObject.Object.set_data] and related
|
||||
[GObject](../gobject/class.Object.html)s, using [`g_object_set_data()`](../gobject/method.Object.set_data.html) and related
|
||||
functions. The data is stored inside opaque [type@GLib.Data] elements.
|
||||
|
||||
To create a datalist, use [func@GLib.datalist_init].
|
||||
|
@@ -6,7 +6,7 @@ SPDX-FileCopyrightText: 2012 Dan Winship
|
||||
|
||||
Do not use these APIs unless you are porting a POSIX application to Windows.
|
||||
A more high-level file access API is provided as GIO — see the documentation
|
||||
for [iface@Gio.File].
|
||||
for [GFile](../gio/iface.File.html).
|
||||
|
||||
## POSIX File Wrappers
|
||||
|
||||
|
@@ -15,7 +15,7 @@ and asynchronous variants ([func@GLib.spawn_async],
|
||||
complete shell-like command line ([func@GLib.spawn_command_line_sync],
|
||||
[func@GLib.spawn_command_line_async]).
|
||||
|
||||
See [class@Gio.Subprocess] in GIO for a higher-level API that provides
|
||||
See [GSubprocess](../gio/class.Subprocess.html) in GIO for a higher-level API that provides
|
||||
stream interfaces for communication with child processes.
|
||||
|
||||
An example of using [func@GLib.spawn_async_with_pipes]:
|
||||
|
@@ -68,8 +68,8 @@ An untyped pointer, exactly equivalent to `void *`.
|
||||
|
||||
The standard C `void *` type should usually be preferred in
|
||||
new code, but `gpointer` can be used in contexts where a type name
|
||||
must be a single word, such as in the [method@GObject.Type.name] of
|
||||
[const@GObject.TYPE_POINTER] or when generating a family of function names for
|
||||
must be a single word, such as in the `GType` name of
|
||||
`G_TYPE_POINTER` or when generating a family of function names for
|
||||
multiple types using macros.
|
||||
|
||||
### `gconstpointer`
|
||||
@@ -98,8 +98,8 @@ Equivalent to the standard C `unsigned char` type.
|
||||
|
||||
The standard C `unsigned char` type should usually be preferred in
|
||||
new code, but `guchar` can be used in contexts where a type name
|
||||
must be a single word, such as in the [method@GObject.Type.name] of
|
||||
[const@GObject.TYPE_UCHAR] or when generating a family of function names for
|
||||
must be a single word, such as in the `GType` name of
|
||||
`G_TYPE_UCHAR` or when generating a family of function names for
|
||||
multiple types using macros.
|
||||
|
||||
## Naturally Sized Integers
|
||||
@@ -135,8 +135,8 @@ or equivalently `0` to `G_MAXUINT`.
|
||||
|
||||
The standard C `unsigned int` type should usually be preferred in
|
||||
new code, but `guint` can be used in contexts where a type name
|
||||
must be a single word, such as in the [method@GObject.Type.name] of
|
||||
[const@GObject.TYPE_UINT] or when generating a family of function names for
|
||||
must be a single word, such as in the `GType` name of
|
||||
`G_TYPE_UINT` or when generating a family of function names for
|
||||
multiple types using macros.
|
||||
|
||||
`G_MAXUINT`
|
||||
@@ -216,8 +216,8 @@ Values of this type can range from `0` to `G_MAXULONG`.
|
||||
|
||||
The standard C `unsigned long` type should usually be preferred in
|
||||
new code, but `gulong` can be used in contexts where a type name
|
||||
must be a single word, such as in the [method@GObject.Type.name] of
|
||||
[const@GObject.TYPE_ULONG] or when generating a family of function names for
|
||||
must be a single word, such as in the `GType` name of
|
||||
`G_TYPE_ULONG` or when generating a family of function names for
|
||||
multiple types using macros.
|
||||
|
||||
`G_MAXULONG`
|
||||
|
Reference in New Issue
Block a user