Commit e8ea81cf authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

dwrite: Ensure unixlib function tables and enum stay in sync.

parent 40051cfa
......@@ -815,6 +815,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
get_design_glyph_metrics,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
......@@ -1041,4 +1043,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_get_design_glyph_metrics,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */
......@@ -107,6 +107,7 @@ enum font_backend_funcs
unix_get_glyph_bbox,
unix_get_glyph_bitmap,
unix_get_design_glyph_metrics,
unix_funcs_count,
};
#define UNIX_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment