mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
glib-mkenums: evaluate private symbols too
This allows them to be referenced in other symbols value computation. In addition, this fixes the automatically assigned value of a public symbol that is preceded by a private one: typedef enum { /*< private >*/ ENUM_VALUE_PRIVATE, /*< public >*/ ENUM_VALUE_PUBLIC, <--- value is 1, not 0. } SomeExampleEnum;
This commit is contained in:
@@ -649,7 +649,7 @@ comment: {standard_bottom_comment}
|
||||
"ENUM",
|
||||
"ENUM_VALUE_PUBLIC2",
|
||||
"public2",
|
||||
"0",
|
||||
"1",
|
||||
)
|
||||
|
||||
def test_available_in(self):
|
||||
|
Reference in New Issue
Block a user