jwharm / java-gi

GObject-Introspection bindings generator for Java
GNU Lesser General Public License v2.1
93 stars 9 forks source link

Change trailing flag parameters into varargs #140

Closed jwharm closed 1 month ago

jwharm commented 1 month ago

In Java-GI 0.10.0, all flag parameters were changed from int to Set<FlagType>. All methods with these parameters were overloaded to accept a single FlagType parameter too. It would be even better to turn trailing flag parameters into variadic (FlagType...) arguments. Other flag parameters and return types should still be Set<FlagType>, probably with the overloads still available.