Vala Home

Writing a Library with Vala:

API and ABI Design Choices

Avoid Using varargs

A function with a variable number of arguments is not introspectable. Although the GObject Introspection Repository will contain a method or function that can be called with a variable number of arguments, the method or function will be marked as introspectable="0". This causes binding generators to ignore the method or function. In Vala this can be overridden using skip = false in the metadata, but such techniques are not available in all bindings.

Further Reading

Some useful links for further reading:

Projects/Vala/LibraryWritingAPIABI (last edited 2017-10-17 16:08:30 by AlThomas)