Re: [Qemu-devel] [PATCH 1/2] qapi: Simplify use of range.h

2016-05-31 Thread Markus Armbruster
Eric Blake writes: > Calling our function g_list_insert_sorted_merged() is a misnomer, > since we are NOT writing a glib function. Furthermore, we are > making every caller pass the same comparator function of > range_merge(): any caller that does otherwise would break > in weird ways since our

[Qemu-devel] [PATCH 1/2] qapi: Simplify use of range.h

2016-05-16 Thread Eric Blake
Calling our function g_list_insert_sorted_merged() is a misnomer, since we are NOT writing a glib function. Furthermore, we are making every caller pass the same comparator function of range_merge(): any caller that does otherwise would break in weird ways since our internal call to ranges_can_mer