diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-11-09 16:01:45 +0100 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2020-11-10 14:32:13 +0100 |
commit | 1159004dc863253e0374651d8271478438a113fe (patch) | |
tree | 90f1e31d1d10d82063895abc93e16dcc986b2bd8 /common/flatpak-ref-utils-private.h | |
parent | b70151dabe0ba2f7888e00bb1861bcba9c3809b0 (diff) | |
download | flatpak-1159004dc863253e0374651d8271478438a113fe.tar.gz |
Add len argument to flatpak_decomposed_is_arches()
This allows this to be used both with strv (len=-1) and other arrays.
Diffstat (limited to 'common/flatpak-ref-utils-private.h')
-rw-r--r-- | common/flatpak-ref-utils-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/flatpak-ref-utils-private.h b/common/flatpak-ref-utils-private.h index 15aaa46a..936b2f78 100644 --- a/common/flatpak-ref-utils-private.h +++ b/common/flatpak-ref-utils-private.h @@ -121,6 +121,7 @@ char * flatpak_decomposed_dup_arch (FlatpakDecomposed gboolean flatpak_decomposed_is_arch (FlatpakDecomposed *ref, const char *arch); gboolean flatpak_decomposed_is_arches (FlatpakDecomposed *ref, + gssize len, const char **arches); const char * flatpak_decomposed_peek_branch (FlatpakDecomposed *ref, gsize *out_len); |