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: _sources/developer-guides/bindings/writing-a-vapi-manually/04-00-recognizing-vala-semantics-in-c-code/04-02-enums-and-flags.rst.txt
-22Lines changed: 0 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,26 +64,4 @@ There is also a common tendency to use combinable bit patterns. These are conver
64
64
CREATE
65
65
}
66
66
67
-
68
67
In Vala, enums and flags may have member functions. In particular, ``strerr``-like functions are best converted to member functions.
69
-
70
-
Enums may also inherit, so if one set of flags is a superset of another, but they are logically separate, this can be done using inheritance.
Copy file name to clipboardExpand all lines: developer-guides/bindings/writing-a-vapi-manually/04-00-recognizing-vala-semantics-in-c-code/04-02-enums-and-flags.html
-17Lines changed: 0 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -587,23 +587,6 @@ <h1><span class="section-number">4.2. </span>Enums and Flags<a class="headerlink
587
587
</pre></div>
588
588
</div>
589
589
<p>In Vala, enums and flags may have member functions. In particular, <codeclass="docutils literal notranslate"><spanclass="pre">strerr</span></code>-like functions are best converted to member functions.</p>
590
-
<p>Enums may also inherit, so if one set of flags is a superset of another, but they are logically separate, this can be done using inheritance.</p>
0 commit comments