Path: blob/master/platform/linuxbsd/xkbcommon-so_wrap.c
10277 views
// This file is generated. Do not edit!1// see https://github.com/hpvb/dynload-wrapper for details2// generated by generate-wrapper.py 0.3 on 2023-01-30 10:40:263// flags: generate-wrapper.py --include ./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon.h --include ./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-compose.h --include ./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-keysyms.h --sys-include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon.h" --sys-include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-compose.h" --sys-include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-keysyms.h" --soname libxkbcommon.so.0 --init-name xkbcommon --output-header ./platform/linuxbsd/xkbcommon-so_wrap.h --output-implementation ./platform/linuxbsd/xkbcommon-so_wrap.c4//5#include <stdint.h>67#define xkb_keysym_get_name xkb_keysym_get_name_dylibloader_orig_xkbcommon8#define xkb_keysym_from_name xkb_keysym_from_name_dylibloader_orig_xkbcommon9#define xkb_keysym_to_utf8 xkb_keysym_to_utf8_dylibloader_orig_xkbcommon10#define xkb_keysym_to_utf32 xkb_keysym_to_utf32_dylibloader_orig_xkbcommon11#define xkb_utf32_to_keysym xkb_utf32_to_keysym_dylibloader_orig_xkbcommon12#define xkb_keysym_to_upper xkb_keysym_to_upper_dylibloader_orig_xkbcommon13#define xkb_keysym_to_lower xkb_keysym_to_lower_dylibloader_orig_xkbcommon14#define xkb_context_new xkb_context_new_dylibloader_orig_xkbcommon15#define xkb_context_ref xkb_context_ref_dylibloader_orig_xkbcommon16#define xkb_context_unref xkb_context_unref_dylibloader_orig_xkbcommon17#define xkb_context_set_user_data xkb_context_set_user_data_dylibloader_orig_xkbcommon18#define xkb_context_get_user_data xkb_context_get_user_data_dylibloader_orig_xkbcommon19#define xkb_context_include_path_append xkb_context_include_path_append_dylibloader_orig_xkbcommon20#define xkb_context_include_path_append_default xkb_context_include_path_append_default_dylibloader_orig_xkbcommon21#define xkb_context_include_path_reset_defaults xkb_context_include_path_reset_defaults_dylibloader_orig_xkbcommon22#define xkb_context_include_path_clear xkb_context_include_path_clear_dylibloader_orig_xkbcommon23#define xkb_context_num_include_paths xkb_context_num_include_paths_dylibloader_orig_xkbcommon24#define xkb_context_include_path_get xkb_context_include_path_get_dylibloader_orig_xkbcommon25#define xkb_context_set_log_level xkb_context_set_log_level_dylibloader_orig_xkbcommon26#define xkb_context_get_log_level xkb_context_get_log_level_dylibloader_orig_xkbcommon27#define xkb_context_set_log_verbosity xkb_context_set_log_verbosity_dylibloader_orig_xkbcommon28#define xkb_context_get_log_verbosity xkb_context_get_log_verbosity_dylibloader_orig_xkbcommon29#define xkb_context_set_log_fn xkb_context_set_log_fn_dylibloader_orig_xkbcommon30#define xkb_keymap_new_from_names xkb_keymap_new_from_names_dylibloader_orig_xkbcommon31#define xkb_keymap_new_from_file xkb_keymap_new_from_file_dylibloader_orig_xkbcommon32#define xkb_keymap_new_from_string xkb_keymap_new_from_string_dylibloader_orig_xkbcommon33#define xkb_keymap_new_from_buffer xkb_keymap_new_from_buffer_dylibloader_orig_xkbcommon34#define xkb_keymap_ref xkb_keymap_ref_dylibloader_orig_xkbcommon35#define xkb_keymap_unref xkb_keymap_unref_dylibloader_orig_xkbcommon36#define xkb_keymap_get_as_string xkb_keymap_get_as_string_dylibloader_orig_xkbcommon37#define xkb_keymap_min_keycode xkb_keymap_min_keycode_dylibloader_orig_xkbcommon38#define xkb_keymap_max_keycode xkb_keymap_max_keycode_dylibloader_orig_xkbcommon39#define xkb_keymap_key_for_each xkb_keymap_key_for_each_dylibloader_orig_xkbcommon40#define xkb_keymap_key_get_name xkb_keymap_key_get_name_dylibloader_orig_xkbcommon41#define xkb_keymap_key_by_name xkb_keymap_key_by_name_dylibloader_orig_xkbcommon42#define xkb_keymap_num_mods xkb_keymap_num_mods_dylibloader_orig_xkbcommon43#define xkb_keymap_mod_get_name xkb_keymap_mod_get_name_dylibloader_orig_xkbcommon44#define xkb_keymap_mod_get_index xkb_keymap_mod_get_index_dylibloader_orig_xkbcommon45#define xkb_keymap_num_layouts xkb_keymap_num_layouts_dylibloader_orig_xkbcommon46#define xkb_keymap_layout_get_name xkb_keymap_layout_get_name_dylibloader_orig_xkbcommon47#define xkb_keymap_layout_get_index xkb_keymap_layout_get_index_dylibloader_orig_xkbcommon48#define xkb_keymap_num_leds xkb_keymap_num_leds_dylibloader_orig_xkbcommon49#define xkb_keymap_led_get_name xkb_keymap_led_get_name_dylibloader_orig_xkbcommon50#define xkb_keymap_led_get_index xkb_keymap_led_get_index_dylibloader_orig_xkbcommon51#define xkb_keymap_num_layouts_for_key xkb_keymap_num_layouts_for_key_dylibloader_orig_xkbcommon52#define xkb_keymap_num_levels_for_key xkb_keymap_num_levels_for_key_dylibloader_orig_xkbcommon53#define xkb_keymap_key_get_mods_for_level xkb_keymap_key_get_mods_for_level_dylibloader_orig_xkbcommon54#define xkb_keymap_key_get_syms_by_level xkb_keymap_key_get_syms_by_level_dylibloader_orig_xkbcommon55#define xkb_keymap_key_repeats xkb_keymap_key_repeats_dylibloader_orig_xkbcommon56#define xkb_state_new xkb_state_new_dylibloader_orig_xkbcommon57#define xkb_state_ref xkb_state_ref_dylibloader_orig_xkbcommon58#define xkb_state_unref xkb_state_unref_dylibloader_orig_xkbcommon59#define xkb_state_get_keymap xkb_state_get_keymap_dylibloader_orig_xkbcommon60#define xkb_state_update_key xkb_state_update_key_dylibloader_orig_xkbcommon61#define xkb_state_update_mask xkb_state_update_mask_dylibloader_orig_xkbcommon62#define xkb_state_key_get_syms xkb_state_key_get_syms_dylibloader_orig_xkbcommon63#define xkb_state_key_get_utf8 xkb_state_key_get_utf8_dylibloader_orig_xkbcommon64#define xkb_state_key_get_utf32 xkb_state_key_get_utf32_dylibloader_orig_xkbcommon65#define xkb_state_key_get_one_sym xkb_state_key_get_one_sym_dylibloader_orig_xkbcommon66#define xkb_state_key_get_layout xkb_state_key_get_layout_dylibloader_orig_xkbcommon67#define xkb_state_key_get_level xkb_state_key_get_level_dylibloader_orig_xkbcommon68#define xkb_state_serialize_mods xkb_state_serialize_mods_dylibloader_orig_xkbcommon69#define xkb_state_serialize_layout xkb_state_serialize_layout_dylibloader_orig_xkbcommon70#define xkb_state_mod_name_is_active xkb_state_mod_name_is_active_dylibloader_orig_xkbcommon71#define xkb_state_mod_names_are_active xkb_state_mod_names_are_active_dylibloader_orig_xkbcommon72#define xkb_state_mod_index_is_active xkb_state_mod_index_is_active_dylibloader_orig_xkbcommon73#define xkb_state_mod_indices_are_active xkb_state_mod_indices_are_active_dylibloader_orig_xkbcommon74#define xkb_state_key_get_consumed_mods2 xkb_state_key_get_consumed_mods2_dylibloader_orig_xkbcommon75#define xkb_state_key_get_consumed_mods xkb_state_key_get_consumed_mods_dylibloader_orig_xkbcommon76#define xkb_state_mod_index_is_consumed2 xkb_state_mod_index_is_consumed2_dylibloader_orig_xkbcommon77#define xkb_state_mod_index_is_consumed xkb_state_mod_index_is_consumed_dylibloader_orig_xkbcommon78#define xkb_state_mod_mask_remove_consumed xkb_state_mod_mask_remove_consumed_dylibloader_orig_xkbcommon79#define xkb_state_layout_name_is_active xkb_state_layout_name_is_active_dylibloader_orig_xkbcommon80#define xkb_state_layout_index_is_active xkb_state_layout_index_is_active_dylibloader_orig_xkbcommon81#define xkb_state_led_name_is_active xkb_state_led_name_is_active_dylibloader_orig_xkbcommon82#define xkb_state_led_index_is_active xkb_state_led_index_is_active_dylibloader_orig_xkbcommon83#define xkb_compose_table_new_from_locale xkb_compose_table_new_from_locale_dylibloader_orig_xkbcommon84#define xkb_compose_table_new_from_file xkb_compose_table_new_from_file_dylibloader_orig_xkbcommon85#define xkb_compose_table_new_from_buffer xkb_compose_table_new_from_buffer_dylibloader_orig_xkbcommon86#define xkb_compose_table_ref xkb_compose_table_ref_dylibloader_orig_xkbcommon87#define xkb_compose_table_unref xkb_compose_table_unref_dylibloader_orig_xkbcommon88#define xkb_compose_state_new xkb_compose_state_new_dylibloader_orig_xkbcommon89#define xkb_compose_state_ref xkb_compose_state_ref_dylibloader_orig_xkbcommon90#define xkb_compose_state_unref xkb_compose_state_unref_dylibloader_orig_xkbcommon91#define xkb_compose_state_get_compose_table xkb_compose_state_get_compose_table_dylibloader_orig_xkbcommon92#define xkb_compose_state_feed xkb_compose_state_feed_dylibloader_orig_xkbcommon93#define xkb_compose_state_reset xkb_compose_state_reset_dylibloader_orig_xkbcommon94#define xkb_compose_state_get_status xkb_compose_state_get_status_dylibloader_orig_xkbcommon95#define xkb_compose_state_get_utf8 xkb_compose_state_get_utf8_dylibloader_orig_xkbcommon96#define xkb_compose_state_get_one_sym xkb_compose_state_get_one_sym_dylibloader_orig_xkbcommon97#include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon.h"98#include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-compose.h"99#include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-keysyms.h"100#undef xkb_keysym_get_name101#undef xkb_keysym_from_name102#undef xkb_keysym_to_utf8103#undef xkb_keysym_to_utf32104#undef xkb_utf32_to_keysym105#undef xkb_keysym_to_upper106#undef xkb_keysym_to_lower107#undef xkb_context_new108#undef xkb_context_ref109#undef xkb_context_unref110#undef xkb_context_set_user_data111#undef xkb_context_get_user_data112#undef xkb_context_include_path_append113#undef xkb_context_include_path_append_default114#undef xkb_context_include_path_reset_defaults115#undef xkb_context_include_path_clear116#undef xkb_context_num_include_paths117#undef xkb_context_include_path_get118#undef xkb_context_set_log_level119#undef xkb_context_get_log_level120#undef xkb_context_set_log_verbosity121#undef xkb_context_get_log_verbosity122#undef xkb_context_set_log_fn123#undef xkb_keymap_new_from_names124#undef xkb_keymap_new_from_file125#undef xkb_keymap_new_from_string126#undef xkb_keymap_new_from_buffer127#undef xkb_keymap_ref128#undef xkb_keymap_unref129#undef xkb_keymap_get_as_string130#undef xkb_keymap_min_keycode131#undef xkb_keymap_max_keycode132#undef xkb_keymap_key_for_each133#undef xkb_keymap_key_get_name134#undef xkb_keymap_key_by_name135#undef xkb_keymap_num_mods136#undef xkb_keymap_mod_get_name137#undef xkb_keymap_mod_get_index138#undef xkb_keymap_num_layouts139#undef xkb_keymap_layout_get_name140#undef xkb_keymap_layout_get_index141#undef xkb_keymap_num_leds142#undef xkb_keymap_led_get_name143#undef xkb_keymap_led_get_index144#undef xkb_keymap_num_layouts_for_key145#undef xkb_keymap_num_levels_for_key146#undef xkb_keymap_key_get_mods_for_level147#undef xkb_keymap_key_get_syms_by_level148#undef xkb_keymap_key_repeats149#undef xkb_state_new150#undef xkb_state_ref151#undef xkb_state_unref152#undef xkb_state_get_keymap153#undef xkb_state_update_key154#undef xkb_state_update_mask155#undef xkb_state_key_get_syms156#undef xkb_state_key_get_utf8157#undef xkb_state_key_get_utf32158#undef xkb_state_key_get_one_sym159#undef xkb_state_key_get_layout160#undef xkb_state_key_get_level161#undef xkb_state_serialize_mods162#undef xkb_state_serialize_layout163#undef xkb_state_mod_name_is_active164#undef xkb_state_mod_names_are_active165#undef xkb_state_mod_index_is_active166#undef xkb_state_mod_indices_are_active167#undef xkb_state_key_get_consumed_mods2168#undef xkb_state_key_get_consumed_mods169#undef xkb_state_mod_index_is_consumed2170#undef xkb_state_mod_index_is_consumed171#undef xkb_state_mod_mask_remove_consumed172#undef xkb_state_layout_name_is_active173#undef xkb_state_layout_index_is_active174#undef xkb_state_led_name_is_active175#undef xkb_state_led_index_is_active176#undef xkb_compose_table_new_from_locale177#undef xkb_compose_table_new_from_file178#undef xkb_compose_table_new_from_buffer179#undef xkb_compose_table_ref180#undef xkb_compose_table_unref181#undef xkb_compose_state_new182#undef xkb_compose_state_ref183#undef xkb_compose_state_unref184#undef xkb_compose_state_get_compose_table185#undef xkb_compose_state_feed186#undef xkb_compose_state_reset187#undef xkb_compose_state_get_status188#undef xkb_compose_state_get_utf8189#undef xkb_compose_state_get_one_sym190#include <dlfcn.h>191#include <stdio.h>192int (*xkb_keysym_get_name_dylibloader_wrapper_xkbcommon)( xkb_keysym_t, char*, size_t);193xkb_keysym_t (*xkb_keysym_from_name_dylibloader_wrapper_xkbcommon)(const char*,enum xkb_keysym_flags);194int (*xkb_keysym_to_utf8_dylibloader_wrapper_xkbcommon)( xkb_keysym_t, char*, size_t);195uint32_t (*xkb_keysym_to_utf32_dylibloader_wrapper_xkbcommon)( xkb_keysym_t);196xkb_keysym_t (*xkb_utf32_to_keysym_dylibloader_wrapper_xkbcommon)( uint32_t);197xkb_keysym_t (*xkb_keysym_to_upper_dylibloader_wrapper_xkbcommon)( xkb_keysym_t);198xkb_keysym_t (*xkb_keysym_to_lower_dylibloader_wrapper_xkbcommon)( xkb_keysym_t);199struct xkb_context* (*xkb_context_new_dylibloader_wrapper_xkbcommon)(enum xkb_context_flags);200struct xkb_context* (*xkb_context_ref_dylibloader_wrapper_xkbcommon)(struct xkb_context*);201void (*xkb_context_unref_dylibloader_wrapper_xkbcommon)(struct xkb_context*);202void (*xkb_context_set_user_data_dylibloader_wrapper_xkbcommon)(struct xkb_context*, void*);203void* (*xkb_context_get_user_data_dylibloader_wrapper_xkbcommon)(struct xkb_context*);204int (*xkb_context_include_path_append_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*);205int (*xkb_context_include_path_append_default_dylibloader_wrapper_xkbcommon)(struct xkb_context*);206int (*xkb_context_include_path_reset_defaults_dylibloader_wrapper_xkbcommon)(struct xkb_context*);207void (*xkb_context_include_path_clear_dylibloader_wrapper_xkbcommon)(struct xkb_context*);208unsigned int (*xkb_context_num_include_paths_dylibloader_wrapper_xkbcommon)(struct xkb_context*);209const char* (*xkb_context_include_path_get_dylibloader_wrapper_xkbcommon)(struct xkb_context*, unsigned int);210void (*xkb_context_set_log_level_dylibloader_wrapper_xkbcommon)(struct xkb_context*,enum xkb_log_level);211enum xkb_log_level (*xkb_context_get_log_level_dylibloader_wrapper_xkbcommon)(struct xkb_context*);212void (*xkb_context_set_log_verbosity_dylibloader_wrapper_xkbcommon)(struct xkb_context*, int);213int (*xkb_context_get_log_verbosity_dylibloader_wrapper_xkbcommon)(struct xkb_context*);214void (*xkb_context_set_log_fn_dylibloader_wrapper_xkbcommon)(struct xkb_context*, void*);215struct xkb_keymap* (*xkb_keymap_new_from_names_dylibloader_wrapper_xkbcommon)(struct xkb_context*,struct xkb_rule_names*,enum xkb_keymap_compile_flags);216struct xkb_keymap* (*xkb_keymap_new_from_file_dylibloader_wrapper_xkbcommon)(struct xkb_context*, FILE*,enum xkb_keymap_format,enum xkb_keymap_compile_flags);217struct xkb_keymap* (*xkb_keymap_new_from_string_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*,enum xkb_keymap_format,enum xkb_keymap_compile_flags);218struct xkb_keymap* (*xkb_keymap_new_from_buffer_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*, size_t,enum xkb_keymap_format,enum xkb_keymap_compile_flags);219struct xkb_keymap* (*xkb_keymap_ref_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*);220void (*xkb_keymap_unref_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*);221char* (*xkb_keymap_get_as_string_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,enum xkb_keymap_format);222xkb_keycode_t (*xkb_keymap_min_keycode_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*);223xkb_keycode_t (*xkb_keymap_max_keycode_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*);224void (*xkb_keymap_key_for_each_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keymap_key_iter_t, void*);225const char* (*xkb_keymap_key_get_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t);226xkb_keycode_t (*xkb_keymap_key_by_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,const char*);227xkb_mod_index_t (*xkb_keymap_num_mods_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*);228const char* (*xkb_keymap_mod_get_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_mod_index_t);229xkb_mod_index_t (*xkb_keymap_mod_get_index_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,const char*);230xkb_layout_index_t (*xkb_keymap_num_layouts_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*);231const char* (*xkb_keymap_layout_get_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_layout_index_t);232xkb_layout_index_t (*xkb_keymap_layout_get_index_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,const char*);233xkb_led_index_t (*xkb_keymap_num_leds_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*);234const char* (*xkb_keymap_led_get_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_led_index_t);235xkb_led_index_t (*xkb_keymap_led_get_index_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,const char*);236xkb_layout_index_t (*xkb_keymap_num_layouts_for_key_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t);237xkb_level_index_t (*xkb_keymap_num_levels_for_key_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t, xkb_layout_index_t);238size_t (*xkb_keymap_key_get_mods_for_level_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t, xkb_layout_index_t, xkb_level_index_t, xkb_mod_mask_t*, size_t);239int (*xkb_keymap_key_get_syms_by_level_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t, xkb_layout_index_t, xkb_level_index_t,const xkb_keysym_t**);240int (*xkb_keymap_key_repeats_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t);241struct xkb_state* (*xkb_state_new_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*);242struct xkb_state* (*xkb_state_ref_dylibloader_wrapper_xkbcommon)(struct xkb_state*);243void (*xkb_state_unref_dylibloader_wrapper_xkbcommon)(struct xkb_state*);244struct xkb_keymap* (*xkb_state_get_keymap_dylibloader_wrapper_xkbcommon)(struct xkb_state*);245enum xkb_state_component (*xkb_state_update_key_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t,enum xkb_key_direction);246enum xkb_state_component (*xkb_state_update_mask_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_mod_mask_t, xkb_mod_mask_t, xkb_mod_mask_t, xkb_layout_index_t, xkb_layout_index_t, xkb_layout_index_t);247int (*xkb_state_key_get_syms_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t,const xkb_keysym_t**);248int (*xkb_state_key_get_utf8_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, char*, size_t);249uint32_t (*xkb_state_key_get_utf32_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t);250xkb_keysym_t (*xkb_state_key_get_one_sym_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t);251xkb_layout_index_t (*xkb_state_key_get_layout_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t);252xkb_level_index_t (*xkb_state_key_get_level_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, xkb_layout_index_t);253xkb_mod_mask_t (*xkb_state_serialize_mods_dylibloader_wrapper_xkbcommon)(struct xkb_state*,enum xkb_state_component);254xkb_layout_index_t (*xkb_state_serialize_layout_dylibloader_wrapper_xkbcommon)(struct xkb_state*,enum xkb_state_component);255int (*xkb_state_mod_name_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,const char*,enum xkb_state_component);256int (*xkb_state_mod_names_are_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,enum xkb_state_component,enum xkb_state_match,...);257int (*xkb_state_mod_index_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_mod_index_t,enum xkb_state_component);258int (*xkb_state_mod_indices_are_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,enum xkb_state_component,enum xkb_state_match,...);259xkb_mod_mask_t (*xkb_state_key_get_consumed_mods2_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t,enum xkb_consumed_mode);260xkb_mod_mask_t (*xkb_state_key_get_consumed_mods_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t);261int (*xkb_state_mod_index_is_consumed2_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, xkb_mod_index_t,enum xkb_consumed_mode);262int (*xkb_state_mod_index_is_consumed_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, xkb_mod_index_t);263xkb_mod_mask_t (*xkb_state_mod_mask_remove_consumed_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, xkb_mod_mask_t);264int (*xkb_state_layout_name_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,const char*,enum xkb_state_component);265int (*xkb_state_layout_index_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_layout_index_t,enum xkb_state_component);266int (*xkb_state_led_name_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,const char*);267int (*xkb_state_led_index_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_led_index_t);268struct xkb_compose_table* (*xkb_compose_table_new_from_locale_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*,enum xkb_compose_compile_flags);269struct xkb_compose_table* (*xkb_compose_table_new_from_file_dylibloader_wrapper_xkbcommon)(struct xkb_context*, FILE*,const char*,enum xkb_compose_format,enum xkb_compose_compile_flags);270struct xkb_compose_table* (*xkb_compose_table_new_from_buffer_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*, size_t,const char*,enum xkb_compose_format,enum xkb_compose_compile_flags);271struct xkb_compose_table* (*xkb_compose_table_ref_dylibloader_wrapper_xkbcommon)(struct xkb_compose_table*);272void (*xkb_compose_table_unref_dylibloader_wrapper_xkbcommon)(struct xkb_compose_table*);273struct xkb_compose_state* (*xkb_compose_state_new_dylibloader_wrapper_xkbcommon)(struct xkb_compose_table*,enum xkb_compose_state_flags);274struct xkb_compose_state* (*xkb_compose_state_ref_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*);275void (*xkb_compose_state_unref_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*);276struct xkb_compose_table* (*xkb_compose_state_get_compose_table_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*);277enum xkb_compose_feed_result (*xkb_compose_state_feed_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*, xkb_keysym_t);278void (*xkb_compose_state_reset_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*);279enum xkb_compose_status (*xkb_compose_state_get_status_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*);280int (*xkb_compose_state_get_utf8_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*, char*, size_t);281xkb_keysym_t (*xkb_compose_state_get_one_sym_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*);282int initialize_xkbcommon(int verbose) {283void *handle;284char *error;285handle = dlopen("libxkbcommon.so.0", RTLD_LAZY);286if (!handle) {287if (verbose) {288fprintf(stderr, "%s\n", dlerror());289}290return(1);291}292dlerror();293// xkb_keysym_get_name294*(void **) (&xkb_keysym_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_get_name");295if (verbose) {296error = dlerror();297if (error != NULL) {298fprintf(stderr, "%s\n", error);299}300}301// xkb_keysym_from_name302*(void **) (&xkb_keysym_from_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_from_name");303if (verbose) {304error = dlerror();305if (error != NULL) {306fprintf(stderr, "%s\n", error);307}308}309// xkb_keysym_to_utf8310*(void **) (&xkb_keysym_to_utf8_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_to_utf8");311if (verbose) {312error = dlerror();313if (error != NULL) {314fprintf(stderr, "%s\n", error);315}316}317// xkb_keysym_to_utf32318*(void **) (&xkb_keysym_to_utf32_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_to_utf32");319if (verbose) {320error = dlerror();321if (error != NULL) {322fprintf(stderr, "%s\n", error);323}324}325// xkb_utf32_to_keysym326*(void **) (&xkb_utf32_to_keysym_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_utf32_to_keysym");327if (verbose) {328error = dlerror();329if (error != NULL) {330fprintf(stderr, "%s\n", error);331}332}333// xkb_keysym_to_upper334*(void **) (&xkb_keysym_to_upper_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_to_upper");335if (verbose) {336error = dlerror();337if (error != NULL) {338fprintf(stderr, "%s\n", error);339}340}341// xkb_keysym_to_lower342*(void **) (&xkb_keysym_to_lower_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_to_lower");343if (verbose) {344error = dlerror();345if (error != NULL) {346fprintf(stderr, "%s\n", error);347}348}349// xkb_context_new350*(void **) (&xkb_context_new_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_new");351if (verbose) {352error = dlerror();353if (error != NULL) {354fprintf(stderr, "%s\n", error);355}356}357// xkb_context_ref358*(void **) (&xkb_context_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_ref");359if (verbose) {360error = dlerror();361if (error != NULL) {362fprintf(stderr, "%s\n", error);363}364}365// xkb_context_unref366*(void **) (&xkb_context_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_unref");367if (verbose) {368error = dlerror();369if (error != NULL) {370fprintf(stderr, "%s\n", error);371}372}373// xkb_context_set_user_data374*(void **) (&xkb_context_set_user_data_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_set_user_data");375if (verbose) {376error = dlerror();377if (error != NULL) {378fprintf(stderr, "%s\n", error);379}380}381// xkb_context_get_user_data382*(void **) (&xkb_context_get_user_data_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_get_user_data");383if (verbose) {384error = dlerror();385if (error != NULL) {386fprintf(stderr, "%s\n", error);387}388}389// xkb_context_include_path_append390*(void **) (&xkb_context_include_path_append_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_append");391if (verbose) {392error = dlerror();393if (error != NULL) {394fprintf(stderr, "%s\n", error);395}396}397// xkb_context_include_path_append_default398*(void **) (&xkb_context_include_path_append_default_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_append_default");399if (verbose) {400error = dlerror();401if (error != NULL) {402fprintf(stderr, "%s\n", error);403}404}405// xkb_context_include_path_reset_defaults406*(void **) (&xkb_context_include_path_reset_defaults_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_reset_defaults");407if (verbose) {408error = dlerror();409if (error != NULL) {410fprintf(stderr, "%s\n", error);411}412}413// xkb_context_include_path_clear414*(void **) (&xkb_context_include_path_clear_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_clear");415if (verbose) {416error = dlerror();417if (error != NULL) {418fprintf(stderr, "%s\n", error);419}420}421// xkb_context_num_include_paths422*(void **) (&xkb_context_num_include_paths_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_num_include_paths");423if (verbose) {424error = dlerror();425if (error != NULL) {426fprintf(stderr, "%s\n", error);427}428}429// xkb_context_include_path_get430*(void **) (&xkb_context_include_path_get_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_get");431if (verbose) {432error = dlerror();433if (error != NULL) {434fprintf(stderr, "%s\n", error);435}436}437// xkb_context_set_log_level438*(void **) (&xkb_context_set_log_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_set_log_level");439if (verbose) {440error = dlerror();441if (error != NULL) {442fprintf(stderr, "%s\n", error);443}444}445// xkb_context_get_log_level446*(void **) (&xkb_context_get_log_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_get_log_level");447if (verbose) {448error = dlerror();449if (error != NULL) {450fprintf(stderr, "%s\n", error);451}452}453// xkb_context_set_log_verbosity454*(void **) (&xkb_context_set_log_verbosity_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_set_log_verbosity");455if (verbose) {456error = dlerror();457if (error != NULL) {458fprintf(stderr, "%s\n", error);459}460}461// xkb_context_get_log_verbosity462*(void **) (&xkb_context_get_log_verbosity_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_get_log_verbosity");463if (verbose) {464error = dlerror();465if (error != NULL) {466fprintf(stderr, "%s\n", error);467}468}469// xkb_context_set_log_fn470*(void **) (&xkb_context_set_log_fn_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_set_log_fn");471if (verbose) {472error = dlerror();473if (error != NULL) {474fprintf(stderr, "%s\n", error);475}476}477// xkb_keymap_new_from_names478*(void **) (&xkb_keymap_new_from_names_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_new_from_names");479if (verbose) {480error = dlerror();481if (error != NULL) {482fprintf(stderr, "%s\n", error);483}484}485// xkb_keymap_new_from_file486*(void **) (&xkb_keymap_new_from_file_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_new_from_file");487if (verbose) {488error = dlerror();489if (error != NULL) {490fprintf(stderr, "%s\n", error);491}492}493// xkb_keymap_new_from_string494*(void **) (&xkb_keymap_new_from_string_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_new_from_string");495if (verbose) {496error = dlerror();497if (error != NULL) {498fprintf(stderr, "%s\n", error);499}500}501// xkb_keymap_new_from_buffer502*(void **) (&xkb_keymap_new_from_buffer_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_new_from_buffer");503if (verbose) {504error = dlerror();505if (error != NULL) {506fprintf(stderr, "%s\n", error);507}508}509// xkb_keymap_ref510*(void **) (&xkb_keymap_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_ref");511if (verbose) {512error = dlerror();513if (error != NULL) {514fprintf(stderr, "%s\n", error);515}516}517// xkb_keymap_unref518*(void **) (&xkb_keymap_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_unref");519if (verbose) {520error = dlerror();521if (error != NULL) {522fprintf(stderr, "%s\n", error);523}524}525// xkb_keymap_get_as_string526*(void **) (&xkb_keymap_get_as_string_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_get_as_string");527if (verbose) {528error = dlerror();529if (error != NULL) {530fprintf(stderr, "%s\n", error);531}532}533// xkb_keymap_min_keycode534*(void **) (&xkb_keymap_min_keycode_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_min_keycode");535if (verbose) {536error = dlerror();537if (error != NULL) {538fprintf(stderr, "%s\n", error);539}540}541// xkb_keymap_max_keycode542*(void **) (&xkb_keymap_max_keycode_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_max_keycode");543if (verbose) {544error = dlerror();545if (error != NULL) {546fprintf(stderr, "%s\n", error);547}548}549// xkb_keymap_key_for_each550*(void **) (&xkb_keymap_key_for_each_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_for_each");551if (verbose) {552error = dlerror();553if (error != NULL) {554fprintf(stderr, "%s\n", error);555}556}557// xkb_keymap_key_get_name558*(void **) (&xkb_keymap_key_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_get_name");559if (verbose) {560error = dlerror();561if (error != NULL) {562fprintf(stderr, "%s\n", error);563}564}565// xkb_keymap_key_by_name566*(void **) (&xkb_keymap_key_by_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_by_name");567if (verbose) {568error = dlerror();569if (error != NULL) {570fprintf(stderr, "%s\n", error);571}572}573// xkb_keymap_num_mods574*(void **) (&xkb_keymap_num_mods_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_mods");575if (verbose) {576error = dlerror();577if (error != NULL) {578fprintf(stderr, "%s\n", error);579}580}581// xkb_keymap_mod_get_name582*(void **) (&xkb_keymap_mod_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_mod_get_name");583if (verbose) {584error = dlerror();585if (error != NULL) {586fprintf(stderr, "%s\n", error);587}588}589// xkb_keymap_mod_get_index590*(void **) (&xkb_keymap_mod_get_index_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_mod_get_index");591if (verbose) {592error = dlerror();593if (error != NULL) {594fprintf(stderr, "%s\n", error);595}596}597// xkb_keymap_num_layouts598*(void **) (&xkb_keymap_num_layouts_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_layouts");599if (verbose) {600error = dlerror();601if (error != NULL) {602fprintf(stderr, "%s\n", error);603}604}605// xkb_keymap_layout_get_name606*(void **) (&xkb_keymap_layout_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_layout_get_name");607if (verbose) {608error = dlerror();609if (error != NULL) {610fprintf(stderr, "%s\n", error);611}612}613// xkb_keymap_layout_get_index614*(void **) (&xkb_keymap_layout_get_index_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_layout_get_index");615if (verbose) {616error = dlerror();617if (error != NULL) {618fprintf(stderr, "%s\n", error);619}620}621// xkb_keymap_num_leds622*(void **) (&xkb_keymap_num_leds_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_leds");623if (verbose) {624error = dlerror();625if (error != NULL) {626fprintf(stderr, "%s\n", error);627}628}629// xkb_keymap_led_get_name630*(void **) (&xkb_keymap_led_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_led_get_name");631if (verbose) {632error = dlerror();633if (error != NULL) {634fprintf(stderr, "%s\n", error);635}636}637// xkb_keymap_led_get_index638*(void **) (&xkb_keymap_led_get_index_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_led_get_index");639if (verbose) {640error = dlerror();641if (error != NULL) {642fprintf(stderr, "%s\n", error);643}644}645// xkb_keymap_num_layouts_for_key646*(void **) (&xkb_keymap_num_layouts_for_key_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_layouts_for_key");647if (verbose) {648error = dlerror();649if (error != NULL) {650fprintf(stderr, "%s\n", error);651}652}653// xkb_keymap_num_levels_for_key654*(void **) (&xkb_keymap_num_levels_for_key_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_levels_for_key");655if (verbose) {656error = dlerror();657if (error != NULL) {658fprintf(stderr, "%s\n", error);659}660}661// xkb_keymap_key_get_mods_for_level662*(void **) (&xkb_keymap_key_get_mods_for_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_get_mods_for_level");663if (verbose) {664error = dlerror();665if (error != NULL) {666fprintf(stderr, "%s\n", error);667}668}669// xkb_keymap_key_get_syms_by_level670*(void **) (&xkb_keymap_key_get_syms_by_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_get_syms_by_level");671if (verbose) {672error = dlerror();673if (error != NULL) {674fprintf(stderr, "%s\n", error);675}676}677// xkb_keymap_key_repeats678*(void **) (&xkb_keymap_key_repeats_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_repeats");679if (verbose) {680error = dlerror();681if (error != NULL) {682fprintf(stderr, "%s\n", error);683}684}685// xkb_state_new686*(void **) (&xkb_state_new_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_new");687if (verbose) {688error = dlerror();689if (error != NULL) {690fprintf(stderr, "%s\n", error);691}692}693// xkb_state_ref694*(void **) (&xkb_state_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_ref");695if (verbose) {696error = dlerror();697if (error != NULL) {698fprintf(stderr, "%s\n", error);699}700}701// xkb_state_unref702*(void **) (&xkb_state_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_unref");703if (verbose) {704error = dlerror();705if (error != NULL) {706fprintf(stderr, "%s\n", error);707}708}709// xkb_state_get_keymap710*(void **) (&xkb_state_get_keymap_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_get_keymap");711if (verbose) {712error = dlerror();713if (error != NULL) {714fprintf(stderr, "%s\n", error);715}716}717// xkb_state_update_key718*(void **) (&xkb_state_update_key_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_update_key");719if (verbose) {720error = dlerror();721if (error != NULL) {722fprintf(stderr, "%s\n", error);723}724}725// xkb_state_update_mask726*(void **) (&xkb_state_update_mask_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_update_mask");727if (verbose) {728error = dlerror();729if (error != NULL) {730fprintf(stderr, "%s\n", error);731}732}733// xkb_state_key_get_syms734*(void **) (&xkb_state_key_get_syms_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_syms");735if (verbose) {736error = dlerror();737if (error != NULL) {738fprintf(stderr, "%s\n", error);739}740}741// xkb_state_key_get_utf8742*(void **) (&xkb_state_key_get_utf8_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_utf8");743if (verbose) {744error = dlerror();745if (error != NULL) {746fprintf(stderr, "%s\n", error);747}748}749// xkb_state_key_get_utf32750*(void **) (&xkb_state_key_get_utf32_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_utf32");751if (verbose) {752error = dlerror();753if (error != NULL) {754fprintf(stderr, "%s\n", error);755}756}757// xkb_state_key_get_one_sym758*(void **) (&xkb_state_key_get_one_sym_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_one_sym");759if (verbose) {760error = dlerror();761if (error != NULL) {762fprintf(stderr, "%s\n", error);763}764}765// xkb_state_key_get_layout766*(void **) (&xkb_state_key_get_layout_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_layout");767if (verbose) {768error = dlerror();769if (error != NULL) {770fprintf(stderr, "%s\n", error);771}772}773// xkb_state_key_get_level774*(void **) (&xkb_state_key_get_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_level");775if (verbose) {776error = dlerror();777if (error != NULL) {778fprintf(stderr, "%s\n", error);779}780}781// xkb_state_serialize_mods782*(void **) (&xkb_state_serialize_mods_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_serialize_mods");783if (verbose) {784error = dlerror();785if (error != NULL) {786fprintf(stderr, "%s\n", error);787}788}789// xkb_state_serialize_layout790*(void **) (&xkb_state_serialize_layout_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_serialize_layout");791if (verbose) {792error = dlerror();793if (error != NULL) {794fprintf(stderr, "%s\n", error);795}796}797// xkb_state_mod_name_is_active798*(void **) (&xkb_state_mod_name_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_name_is_active");799if (verbose) {800error = dlerror();801if (error != NULL) {802fprintf(stderr, "%s\n", error);803}804}805// xkb_state_mod_names_are_active806*(void **) (&xkb_state_mod_names_are_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_names_are_active");807if (verbose) {808error = dlerror();809if (error != NULL) {810fprintf(stderr, "%s\n", error);811}812}813// xkb_state_mod_index_is_active814*(void **) (&xkb_state_mod_index_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_index_is_active");815if (verbose) {816error = dlerror();817if (error != NULL) {818fprintf(stderr, "%s\n", error);819}820}821// xkb_state_mod_indices_are_active822*(void **) (&xkb_state_mod_indices_are_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_indices_are_active");823if (verbose) {824error = dlerror();825if (error != NULL) {826fprintf(stderr, "%s\n", error);827}828}829// xkb_state_key_get_consumed_mods2830*(void **) (&xkb_state_key_get_consumed_mods2_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_consumed_mods2");831if (verbose) {832error = dlerror();833if (error != NULL) {834fprintf(stderr, "%s\n", error);835}836}837// xkb_state_key_get_consumed_mods838*(void **) (&xkb_state_key_get_consumed_mods_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_consumed_mods");839if (verbose) {840error = dlerror();841if (error != NULL) {842fprintf(stderr, "%s\n", error);843}844}845// xkb_state_mod_index_is_consumed2846*(void **) (&xkb_state_mod_index_is_consumed2_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_index_is_consumed2");847if (verbose) {848error = dlerror();849if (error != NULL) {850fprintf(stderr, "%s\n", error);851}852}853// xkb_state_mod_index_is_consumed854*(void **) (&xkb_state_mod_index_is_consumed_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_index_is_consumed");855if (verbose) {856error = dlerror();857if (error != NULL) {858fprintf(stderr, "%s\n", error);859}860}861// xkb_state_mod_mask_remove_consumed862*(void **) (&xkb_state_mod_mask_remove_consumed_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_mask_remove_consumed");863if (verbose) {864error = dlerror();865if (error != NULL) {866fprintf(stderr, "%s\n", error);867}868}869// xkb_state_layout_name_is_active870*(void **) (&xkb_state_layout_name_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_layout_name_is_active");871if (verbose) {872error = dlerror();873if (error != NULL) {874fprintf(stderr, "%s\n", error);875}876}877// xkb_state_layout_index_is_active878*(void **) (&xkb_state_layout_index_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_layout_index_is_active");879if (verbose) {880error = dlerror();881if (error != NULL) {882fprintf(stderr, "%s\n", error);883}884}885// xkb_state_led_name_is_active886*(void **) (&xkb_state_led_name_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_led_name_is_active");887if (verbose) {888error = dlerror();889if (error != NULL) {890fprintf(stderr, "%s\n", error);891}892}893// xkb_state_led_index_is_active894*(void **) (&xkb_state_led_index_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_led_index_is_active");895if (verbose) {896error = dlerror();897if (error != NULL) {898fprintf(stderr, "%s\n", error);899}900}901// xkb_compose_table_new_from_locale902*(void **) (&xkb_compose_table_new_from_locale_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_new_from_locale");903if (verbose) {904error = dlerror();905if (error != NULL) {906fprintf(stderr, "%s\n", error);907}908}909// xkb_compose_table_new_from_file910*(void **) (&xkb_compose_table_new_from_file_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_new_from_file");911if (verbose) {912error = dlerror();913if (error != NULL) {914fprintf(stderr, "%s\n", error);915}916}917// xkb_compose_table_new_from_buffer918*(void **) (&xkb_compose_table_new_from_buffer_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_new_from_buffer");919if (verbose) {920error = dlerror();921if (error != NULL) {922fprintf(stderr, "%s\n", error);923}924}925// xkb_compose_table_ref926*(void **) (&xkb_compose_table_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_ref");927if (verbose) {928error = dlerror();929if (error != NULL) {930fprintf(stderr, "%s\n", error);931}932}933// xkb_compose_table_unref934*(void **) (&xkb_compose_table_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_unref");935if (verbose) {936error = dlerror();937if (error != NULL) {938fprintf(stderr, "%s\n", error);939}940}941// xkb_compose_state_new942*(void **) (&xkb_compose_state_new_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_new");943if (verbose) {944error = dlerror();945if (error != NULL) {946fprintf(stderr, "%s\n", error);947}948}949// xkb_compose_state_ref950*(void **) (&xkb_compose_state_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_ref");951if (verbose) {952error = dlerror();953if (error != NULL) {954fprintf(stderr, "%s\n", error);955}956}957// xkb_compose_state_unref958*(void **) (&xkb_compose_state_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_unref");959if (verbose) {960error = dlerror();961if (error != NULL) {962fprintf(stderr, "%s\n", error);963}964}965// xkb_compose_state_get_compose_table966*(void **) (&xkb_compose_state_get_compose_table_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_get_compose_table");967if (verbose) {968error = dlerror();969if (error != NULL) {970fprintf(stderr, "%s\n", error);971}972}973// xkb_compose_state_feed974*(void **) (&xkb_compose_state_feed_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_feed");975if (verbose) {976error = dlerror();977if (error != NULL) {978fprintf(stderr, "%s\n", error);979}980}981// xkb_compose_state_reset982*(void **) (&xkb_compose_state_reset_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_reset");983if (verbose) {984error = dlerror();985if (error != NULL) {986fprintf(stderr, "%s\n", error);987}988}989// xkb_compose_state_get_status990*(void **) (&xkb_compose_state_get_status_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_get_status");991if (verbose) {992error = dlerror();993if (error != NULL) {994fprintf(stderr, "%s\n", error);995}996}997// xkb_compose_state_get_utf8998*(void **) (&xkb_compose_state_get_utf8_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_get_utf8");999if (verbose) {1000error = dlerror();1001if (error != NULL) {1002fprintf(stderr, "%s\n", error);1003}1004}1005// xkb_compose_state_get_one_sym1006*(void **) (&xkb_compose_state_get_one_sym_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_get_one_sym");1007if (verbose) {1008error = dlerror();1009if (error != NULL) {1010fprintf(stderr, "%s\n", error);1011}1012}1013return 0;1014}101510161017