Rev 1892 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1892 | Rev 3959 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | typedef struct { |
43 | typedef struct { |
44 | cairo_atomic_int_t ref_count; |
44 | cairo_atomic_int_t ref_count; |
45 | } cairo_reference_count_t; |
45 | } cairo_reference_count_t; |
Line 46... | Line 46... | ||
46 | 46 | ||
- | 47 | #define _cairo_reference_count_inc(RC) _cairo_atomic_int_inc (&(RC)->ref_count) |
|
47 | #define _cairo_reference_count_inc(RC) _cairo_atomic_int_inc (&(RC)->ref_count) |
48 | #define _cairo_reference_count_dec(RC) _cairo_atomic_int_dec (&(RC)->ref_count) |
Line 48... | Line 49... | ||
48 | #define _cairo_reference_count_dec_and_test(RC) _cairo_atomic_int_dec_and_test (&(RC)->ref_count) |
49 | #define _cairo_reference_count_dec_and_test(RC) _cairo_atomic_int_dec_and_test (&(RC)->ref_count) |
Line 49... | Line 50... | ||
49 | 50 |