> This is not extensible at all, so not a good fit for a plugin API

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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1187#issuecomment-242248417

Reply via email to