subprojects/harfbuzz/src/hb-dsalgs.hh
static int sort_r_cmpswap(char *__restrict a, char *__restrict b, size_t w,
			  int (*compar)(const void *_a, const void *_b,
					void *_arg),
			  void *arg)
{
  char tmp, *end = a+w;
  if(compar(a, b, arg) > 0) {
    for(; a < end; a++, b++) { tmp = *a; *a = *b; *b = tmp; }
    return 1;
  }
  return 0;
}
/* swap a, b iff a>b */
/* __restrict is same as restrict but better support on old machines */
swap a, b iff a>b
restrict is same as restrict but better support on old machines
swap a b iff a > b restrict is same as restrict but better support on old machines
static int sort_r_cmpswap(char *__restrict a, char *__restrict b, size_t w,
			  int (*compar)(const void *_a, const void *_b,
					void *_arg),
			  void *arg)
{
  char tmp, *end = a+w;
  if(compar(a, b, arg) > 0) {
    for(; a < end; a++, b++) { tmp = *a; *a = *b; *b = tmp; }
    return 1;
  }
  return 0;
}
static int sort_r_cmpswap ( char * __restrict a , char * __restrict b , size_t w , int ( * compar ) ( const void * _a , const void * _b , void * _arg ) , void * arg ) { char tmp , * end = a + w ; if ( compar ( a , b , arg ) > 0 ) { for ( ; a < end ; a ++ , b ++ ) { tmp = * a ; * a = * b ; * b = tmp ; } return 1 ; } return 0 ; }
swap a, b iff a>b
__restrict is same as restrict but better support on old machines
swap a b iff a > b __restrict is same as restrict but better support on old machines