There isn't a way to simply 'extend' a vapi file, you have to include the entire file. What is normal done in these situations is to copy the whole glib-2.0.vapi file (the one with the parse_strv definition) to your project vapidir. That way valac will use your project's local copy instead of the users incomplete copy.
There isn't a way to simply 'extend' a vapi file, you have to include the entire file. What is normal done in these situations is to copy the whole glib-2.0.vapi file (the one with the parse_strv definition) to your project vapidir. That way valac will use your project's local copy instead of the users incomplete copy.