mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-09 05:08:24 +02:00
[cairo-xlib] Use newly-added COMPILE_TIME_ASSERT
This commit is contained in:
parent
2e4d6acd09
commit
295dee36e3
1 changed files with 1 additions and 1 deletions
|
|
@ -3222,7 +3222,7 @@ typedef struct {
|
|||
} cairo_xlib_glyph_t;
|
||||
|
||||
/* compile-time assert that #cairo_xlib_glyph_t is the same size as #cairo_glyph_t */
|
||||
typedef int cairo_xlib_glyph_t_size_assertion [sizeof (cairo_xlib_glyph_t) == sizeof (cairo_glyph_t) ? 1 : -1];
|
||||
COMPILE_TIME_ASSERT (sizeof (cairo_xlib_glyph_t) == sizeof (cairo_glyph_t));
|
||||
|
||||
static cairo_status_t
|
||||
_cairo_xlib_surface_emit_glyphs_chunk (cairo_xlib_surface_t *dst,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue