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