mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 20:35:49 +01:00
The G_ADD_PRIVATE() macro, and the auto-generated get_instance_private() internal function, should be used conditionally depending on the maximum allowed version of GLib, as defined by the GLIB_VERSION_MAX_ALLOWED pre-processor symbol. This allows generating code that can be compiled in projects that wish to use an older API version of GLib through the use of the GLIB_VERSION_MAX_ALLOWED symbol. https://bugzilla.gnome.org/show_bug.cgi?id=710133