[HarfBuzz] harfbuzz-ng: Branch 'master' - 6 commits
Jonathan Kew
jfkthame at googlemail.com
Thu May 24 07:18:52 PDT 2012
This commit:
> New commits:
> commit 22afd66a30d01b6771405e76777306f600807bea
> Author: Behdad Esfahbod<behdad at behdad.org>
> Date: Thu May 17 21:23:49 2012 -0400
>
> Add hb_atomic_int_set() again
is slightly broken for the HB_NO_MT configuration...
> @@ -73,6 +75,7 @@ typedef volatile int hb_atomic_int_t;
> #define HB_ATOMIC_INT_NIL 1
> typedef volatile int hb_atomic_int_t;
> #define hb_atomic_int_add(AI, V) ((AI) += (V), (AI) - (V))
> +#define hb_atomic_int_set(AI) ((void) ((AI) = (V)))
> #define hb_atomic_int_get(AI) (AI)
>
> #endif
The hb_atomic_int_set macro needs two args, not just one.
JK
More information about the HarfBuzz
mailing list