@@ -18,12 +18,12 @@ typedef struct XcbPropertyData
1818
1919static bool xcbInitPropertyData (void * libraryHandle , XcbPropertyData * propertyData )
2020{
21- FF_LIBRARY_LOAD_SYMBOL_ADRESS (libraryHandle , propertyData -> ffxcb_intern_atom , xcb_intern_atom , false)
22- FF_LIBRARY_LOAD_SYMBOL_ADRESS (libraryHandle , propertyData -> ffxcb_intern_atom_reply , xcb_intern_atom_reply , false)
23- FF_LIBRARY_LOAD_SYMBOL_ADRESS (libraryHandle , propertyData -> ffxcb_get_property , xcb_get_property , false)
24- FF_LIBRARY_LOAD_SYMBOL_ADRESS (libraryHandle , propertyData -> ffxcb_get_property_reply , xcb_get_property_reply , false)
25- FF_LIBRARY_LOAD_SYMBOL_ADRESS (libraryHandle , propertyData -> ffxcb_get_property_value , xcb_get_property_value , false)
26- FF_LIBRARY_LOAD_SYMBOL_ADRESS (libraryHandle , propertyData -> ffxcb_get_property_value_length , xcb_get_property_value_length , false)
21+ FF_LIBRARY_LOAD_SYMBOL_PTR (libraryHandle , propertyData , xcb_intern_atom , false)
22+ FF_LIBRARY_LOAD_SYMBOL_PTR (libraryHandle , propertyData , xcb_intern_atom_reply , false)
23+ FF_LIBRARY_LOAD_SYMBOL_PTR (libraryHandle , propertyData , xcb_get_property , false)
24+ FF_LIBRARY_LOAD_SYMBOL_PTR (libraryHandle , propertyData , xcb_get_property_reply , false)
25+ FF_LIBRARY_LOAD_SYMBOL_PTR (libraryHandle , propertyData , xcb_get_property_value , false)
26+ FF_LIBRARY_LOAD_SYMBOL_PTR (libraryHandle , propertyData , xcb_get_property_value_length , false)
2727
2828 return true;
2929}
@@ -335,23 +335,23 @@ void ffdsConnectXcbRandr(const FFinstance* instance, FFDisplayServerResult* resu
335335
336336 XcbRandrData data ;
337337
338- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_screen_resources , xcb_randr_get_screen_resources ,)
339- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_screen_resources_reply , xcb_randr_get_screen_resources_reply ,)
340- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_screen_resources_modes_iterator , xcb_randr_get_screen_resources_modes_iterator ,)
341- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_screen_info , xcb_randr_get_screen_info ,)
342- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_screen_info_reply , xcb_randr_get_screen_info_reply ,)
343- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_mode_info_next , xcb_randr_mode_info_next ,)
344- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_monitors , xcb_randr_get_monitors ,)
345- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_monitors_reply , xcb_randr_get_monitors_reply ,)
346- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_monitors_monitors_iterator , xcb_randr_get_monitors_monitors_iterator ,)
347- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_monitor_info_next , xcb_randr_monitor_info_next ,)
348- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_monitor_info_outputs_length , xcb_randr_monitor_info_outputs_length ,)
349- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_monitor_info_outputs , xcb_randr_monitor_info_outputs ,)
350- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_output_next , xcb_randr_output_next ,)
351- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_output_info , xcb_randr_get_output_info ,)
352- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_output_info_reply , xcb_randr_get_output_info_reply ,)
353- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_crtc_info , xcb_randr_get_crtc_info ,)
354- FF_LIBRARY_LOAD_SYMBOL_ADRESS (xcbRandr , data . ffxcb_randr_get_crtc_info_reply , xcb_randr_get_crtc_info_reply ,)
338+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_screen_resources ,)
339+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_screen_resources_reply ,)
340+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_screen_resources_modes_iterator ,)
341+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_screen_info ,)
342+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_screen_info_reply ,)
343+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_mode_info_next ,)
344+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_monitors ,)
345+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_monitors_reply ,)
346+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_monitors_monitors_iterator ,)
347+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_monitor_info_next ,)
348+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_monitor_info_outputs_length ,)
349+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_monitor_info_outputs ,)
350+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_output_next ,)
351+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_output_info ,)
352+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_output_info_reply ,)
353+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_crtc_info ,)
354+ FF_LIBRARY_LOAD_SYMBOL_VAR (xcbRandr , data , xcb_randr_get_crtc_info_reply ,)
355355
356356 XcbPropertyData propertyData ;
357357 bool propertyDataInitialized = xcbInitPropertyData (xcbRandr , & propertyData );
0 commit comments