On 11/14/2017 12:01 PM, Max Reitz wrote: > Add a new test file (check-qobject.c) for unit tests that concern > QObjects as a whole. > > Its only purpose for now is to test the qobject_is_equal() function. >
> + * Note that qobject_is_equal() is not really an equivalence relation, > + * so this function may not be used for all objects (reflexivity is > + * not guaranteed, e.g. in the case of a QNum containing NaN). > + * > + * The @_ argument is required because a boolean may not be the last > + * argument before a variadic argument list (C11 7.16.1.4 para. 4). C99 7.15.1.4 (did C11 add a section? /me goes and looks... Oh, it did.) Okay, so it's not a typo after all. Ignore my comment in the cover letter, and Reviewed-by: Eric Blake <ebl...@redhat.com> (And soon, I'll have to start quoting C17 instead of C99 or C11...) -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature