@@ -12,7 +12,7 @@ typedef struct WaylandData
1212{
1313 const FFinstance * instance ;
1414 FFlist * results ;
15- FF_LIBRARY_SYMBOL (wl_proxy_marshal_flags )
15+ FF_LIBRARY_SYMBOL (wl_proxy_marshal_constructor_versioned )
1616 FF_LIBRARY_SYMBOL (wl_proxy_add_listener )
1717 FF_LIBRARY_SYMBOL (wl_proxy_destroy )
1818 const struct wl_interface * ffwl_output_interface ;
@@ -68,7 +68,7 @@ static void waylandGlobalAddListener(void* data, struct wl_registry* registry, u
6868
6969 if (strcmp (interface , wldata -> ffwl_output_interface -> name ) == 0 )
7070 {
71- struct wl_output * output = (struct wl_output * ) wldata -> ffwl_proxy_marshal_flags ((struct wl_proxy * ) registry , WL_REGISTRY_BIND , wldata -> ffwl_output_interface , version , 0 , name , wldata -> ffwl_output_interface -> name , version , NULL );
71+ struct wl_output * output = (struct wl_output * ) wldata -> ffwl_proxy_marshal_constructor_versioned ((struct wl_proxy * ) registry , WL_REGISTRY_BIND , wldata -> ffwl_output_interface , version , name , wldata -> ffwl_output_interface -> name , version , NULL );
7272 if (output == NULL )
7373 return ;
7474
@@ -89,7 +89,7 @@ bool detectWayland(const FFinstance* instance, FFDisplayServerResult* result)
8989
9090 WaylandData data ;
9191
92- FF_LIBRARY_LOAD_SYMBOL_ADRESS (wayland , data .ffwl_proxy_marshal_flags , wl_proxy_marshal_flags , false)
92+ FF_LIBRARY_LOAD_SYMBOL_ADRESS (wayland , data .ffwl_proxy_marshal_constructor_versioned , ffwl_proxy_marshal_constructor , false)
9393 FF_LIBRARY_LOAD_SYMBOL_ADRESS (wayland , data .ffwl_proxy_add_listener , wl_proxy_add_listener , false)
9494 FF_LIBRARY_LOAD_SYMBOL_ADRESS (wayland , data .ffwl_output_interface , wl_output_interface , false)
9595 FF_LIBRARY_LOAD_SYMBOL_ADRESS (wayland , data .ffwl_proxy_destroy , wl_proxy_destroy , false)
0 commit comments