[ CCode ( sentinel = "-1" ) ]
[ Version ( since = "0.5.2" ) ]
public static Bitfield from_enums (int value, ...)
Create a bitfield with the suppied values set.
value |
the first value we want to add to the bitfield |
... |
other values to add, terminated by -1 |
a Bitfield, or 0 if invalid |