mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-08 17:08:45 +02:00
gdbus-codegen: Take into consideration MAX_ALLOWED for private data
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
This commit is contained in:
committed by
Colin Walters
parent
066df98849
commit
1b08980b48
1
gio/tests/.gitignore
vendored
1
gio/tests/.gitignore
vendored
@@ -67,6 +67,7 @@ gdbus-proxy-well-known-name
|
||||
gdbus-serialization
|
||||
gdbus-test-codegen
|
||||
gdbus-test-codegen-generated*
|
||||
gdbus-test-codegen-old
|
||||
gdbus-test-fixture
|
||||
gdbus-testserver
|
||||
gdbus-threading
|
||||
|
Reference in New Issue
Block a user