Commit 4a28ff54 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent dbf0e43f
...@@ -141,6 +141,7 @@ enum unix_funcs ...@@ -141,6 +141,7 @@ enum unix_funcs
unix_get_prop, unix_get_prop,
unix_set_prop, unix_set_prop,
unix_read_frame, unix_read_frame,
unix_funcs_count
}; };
#endif #endif
...@@ -593,6 +593,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -593,6 +593,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
v4l_device_read_frame, v4l_device_read_frame,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64 #ifdef _WIN64
typedef ULONG PTR32; typedef ULONG PTR32;
...@@ -857,6 +859,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -857,6 +859,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_v4l_device_read_frame, wow64_v4l_device_read_frame,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */ #endif /* _WIN64 */
#endif /* HAVE_LINUX_VIDEODEV2_H */ #endif /* HAVE_LINUX_VIDEODEV2_H */
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