Re: RFC: arg0array= matches

David Herrmann <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CANq1E4Ssg++1c0BoqjiaTch6ByLnHMrN_Ov4KqHA4kAyGSHTQQ@mail.gmail.com>
Hi

On Wed, Apr 29, 2015 at 5:08 PM, Thiago Macieira <[email protected]> wrote:
> On Wednesday 29 April 2015 16:10:59 Lennart Poettering wrote:
>> The syntax "arg0array=" takes inspiration from the match types
>> "arg0path=", "arg0namespace=".
>>
>> Before I cook up a patch for the dbus spec for this, any opinions on
>> this?
>
> I like the feature but not the name of the marker. "arg<n>array" seems like
> you're comparing the entire array. Try to insert "arg<n>contains" or
> "in_array_arg<n>" or something similar.

Same for me. I'd vote for arg<n>contains="". It's a bit unfortunate
that it cannot distinguish structs from arrays, but I still prefer it
over "arg<n>array=".

Thanks
David
_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.