Change LGPL-2.1+ to LGPL-2.1-or-later
[platform/upstream/glib.git] / docs / rationales.md
1 This file documents various major decisions which affect GLib development,
2 giving a brief rationale of each decision, plus a link to further discussion.
3
4
5  * Compiler attributes: https://bugzilla.gnome.org/show_bug.cgi?id=113075#c46
6
7    GLib uses GIR annotations instead of compiler attributes. They are tidier,
8    already supported by GLib and GNOME tools, and accomplish the same task as
9    compiler attributes. GLib does not provide macros for attributes like
10    nonnull because it would not use them.
11
12  * Main loop API:
13
14    The ID-based mainloop APIs (g_idle_add, g_timeout_add, etc) are considered
15    legacy, and new features (such as g_source_set_static_name) will only be
16    added to the explicit GSource APIs.