Then stick a ... as the last parameter, infinitely extensible :)
An actual sensible good trick used by Linux system calls (among others) is to always have a flags parameter as the last thing, then you can add options for stuff like prefix or whatever else could be represented as a bitmask.
Both suggestions aren't type-safe and not compatible to GI. I don't see why we should start playing tricks with type-unsafe functions now?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.