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

This commit is contained in:
Brendan Shanks 2023-10-23 15:27:05 -05:00 committed by Alexandre Julliard
parent dbf0e43ff8
commit 4a28ff54b2
2 changed files with 5 additions and 0 deletions

View file

@ -141,6 +141,7 @@ enum unix_funcs
unix_get_prop,
unix_set_prop,
unix_read_frame,
unix_funcs_count
};
#endif

View file

@ -593,6 +593,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
v4l_device_read_frame,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
@ -857,6 +859,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_v4l_device_read_frame,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */
#endif /* HAVE_LINUX_VIDEODEV2_H */