mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Document the stance on ID-based mainloop APIs
This will make it easier to reject MRs like https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2199 in the future.
This commit is contained in:
parent
4a16a5b374
commit
74f9f5d47d
@ -8,3 +8,9 @@ giving a brief rationale of each decision, plus a link to further discussion.
|
||||
already supported by GLib and GNOME tools, and accomplish the same task as
|
||||
compiler attributes. GLib does not provide macros for attributes like
|
||||
nonnull because it would not use them.
|
||||
|
||||
* Main loop API:
|
||||
|
||||
The ID-based mainloop APIs (g_idle_add, g_timeout_add, etc) are considered
|
||||
legacy, and new features (such as g_source_set_static_name) will only be
|
||||
added to the explicit GSource APIs.
|
||||
|
Loading…
Reference in New Issue
Block a user