mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 19:52:10 +01:00
docs.c: Forward link from g_auto* → G_DEFINE_AUTO*
We said the type must support being cleaned up and will be cleaned up in an appropriate way, but in order to figure out how to do that, you had to jump forward in the documentation to the other macros. Just say them.
This commit is contained in:
parent
8efe050a39
commit
71ccfadbe1
@ -2215,6 +2215,8 @@
|
||||
*
|
||||
* The variable is cleaned up in a way appropriate to its type when the
|
||||
* variable goes out of scope. The type must support this.
|
||||
* The way to clean up the type must have been defined using one of the macros
|
||||
* G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() or G_DEFINE_AUTO_CLEANUP_FREE_FUNC().
|
||||
*
|
||||
* This feature is only supported on GCC and clang. This macro is not
|
||||
* defined on other compilers and should not be used in programs that
|
||||
@ -2269,6 +2271,8 @@
|
||||
*
|
||||
* The variable is cleaned up in a way appropriate to its type when the
|
||||
* variable goes out of scope. The type must support this.
|
||||
* The way to clean up the type must have been defined using the macro
|
||||
* G_DEFINE_AUTOPTR_CLEANUP_FUNC().
|
||||
*
|
||||
* This feature is only supported on GCC and clang. This macro is not
|
||||
* defined on other compilers and should not be used in programs that
|
||||
|
Loading…
x
Reference in New Issue
Block a user