girwriter: extend the ability to rename symbols to include methods
GirWriter
currently has the ability to rename symbols when generating the .gir file, however, this seems to be limited to classes, interfaces, structs, and enums. I propose to extend this ability to include methods too.
The goal is, when writing a library, to be able to make use of the methods with variadic arguments in the public API for the convenience of Vala and C programmers, while offering a more accessible variant for language bindings under the same name.
public void register (...) {
...
}
[GIR (name = "register")]
public void registerv (ExpressionPart[] parts) {
...
}