You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/developer-guides/bindings/writing-a-vapi-manually/04-00-recognizing-vala-semantics-in-c-code/04-02-enums-and-flags.rst
+75-1Lines changed: 75 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,4 +64,78 @@ There is also a common tendency to use combinable bit patterns. These are conver
64
64
CREATE
65
65
}
66
66
67
-
In Vala, enums and flags may have member functions. In particular, ``strerr``-like functions are best converted to member functions.
67
+
Supersets
68
+
---------
69
+
70
+
If one set of enums or flags is a superset of another, but they are logically separate, You can create a different set of enums that refer to the same enum
0 commit comments