winspool.drv: Ensure unixlib function tables and enum stay in sync.

This commit is contained in:
Brendan Shanks 2023-09-13 15:33:23 -07:00 committed by Alexandre Julliard
parent e8ea81cf7a
commit c95ec7236c
2 changed files with 5 additions and 0 deletions

View file

@ -433,6 +433,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
get_ppd,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
@ -523,4 +525,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_get_ppd,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */

View file

@ -72,4 +72,5 @@ enum cups_funcs
unix_enum_printers,
unix_get_default_page_size,
unix_get_ppd,
unix_funcs_count,
};