mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 16:26:17 +01:00
gerror: Minor documentation formatting fixes
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
11097160c0
commit
d6c670c27e
@ -54,12 +54,12 @@ struct _GError
|
|||||||
*
|
*
|
||||||
* A convenience macro which defines two functions. First, returning
|
* A convenience macro which defines two functions. First, returning
|
||||||
* the #GQuark for the extended error type @ErrorType; it is called
|
* the #GQuark for the extended error type @ErrorType; it is called
|
||||||
* `@error_type_quark()`. Second, returning the private data from a
|
* `error_type_quark()`. Second, returning the private data from a
|
||||||
* passed #GError; it is called `@error_type_get_private()`.
|
* passed #GError; it is called `error_type_get_private()`.
|
||||||
*
|
*
|
||||||
* For this macro to work, a type named `@ErrorTypePrivate` should be
|
* For this macro to work, a type named `ErrorTypePrivate` should be
|
||||||
* defined, `@error_type_private_init()`, `@error_type_private_copy()`
|
* defined, `error_type_private_init()`, `error_type_private_copy()`
|
||||||
* and `@error_type_private_clear()` functions need to be either
|
* and `error_type_private_clear()` functions need to be either
|
||||||
* declared or defined. The functions should be similar to
|
* declared or defined. The functions should be similar to
|
||||||
* #GErrorInitFunc, #GErrorCopyFunc and #GErrorClearFunc,
|
* #GErrorInitFunc, #GErrorCopyFunc and #GErrorClearFunc,
|
||||||
* respectively, but they should receive the private data type instead
|
* respectively, but they should receive the private data type instead
|
||||||
|
Loading…
Reference in New Issue
Block a user