23 #include <sys/types.h>
32 comp(
const void * _a,
const void * _b)
36 return ((a)<(b))? -1 : ((a)>(b))? 1 : 0;
49 if (! iface_impl->simpl) {
50 qsort((
void**)(iface_impl->impl), iface_impl->nimpl,
sizeof(
iface_ptr),
comp);
51 iface_impl->simpl=
TRUE;
const struct interface * iface_ptr
static int comp(const void *_a, const void *_b)
iface_ptr interfaceGet(iface_impl_ptr iface_impl, const iface_ptr _iface)