| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#include <stdint.h> |
| 7 |
|
| 8 |
#define xkb_keysym_get_name xkb_keysym_get_name_dylibloader_orig_xkbcommon |
| 9 |
#define xkb_keysym_from_name xkb_keysym_from_name_dylibloader_orig_xkbcommon |
| 10 |
#define xkb_keysym_to_utf8 xkb_keysym_to_utf8_dylibloader_orig_xkbcommon |
| 11 |
#define xkb_keysym_to_utf32 xkb_keysym_to_utf32_dylibloader_orig_xkbcommon |
| 12 |
#define xkb_utf32_to_keysym xkb_utf32_to_keysym_dylibloader_orig_xkbcommon |
| 13 |
#define xkb_keysym_to_upper xkb_keysym_to_upper_dylibloader_orig_xkbcommon |
| 14 |
#define xkb_keysym_to_lower xkb_keysym_to_lower_dylibloader_orig_xkbcommon |
| 15 |
#define xkb_context_new xkb_context_new_dylibloader_orig_xkbcommon |
| 16 |
#define xkb_context_ref xkb_context_ref_dylibloader_orig_xkbcommon |
| 17 |
#define xkb_context_unref xkb_context_unref_dylibloader_orig_xkbcommon |
| 18 |
#define xkb_context_set_user_data xkb_context_set_user_data_dylibloader_orig_xkbcommon |
| 19 |
#define xkb_context_get_user_data xkb_context_get_user_data_dylibloader_orig_xkbcommon |
| 20 |
#define xkb_context_include_path_append xkb_context_include_path_append_dylibloader_orig_xkbcommon |
| 21 |
#define xkb_context_include_path_append_default xkb_context_include_path_append_default_dylibloader_orig_xkbcommon |
| 22 |
#define xkb_context_include_path_reset_defaults xkb_context_include_path_reset_defaults_dylibloader_orig_xkbcommon |
| 23 |
#define xkb_context_include_path_clear xkb_context_include_path_clear_dylibloader_orig_xkbcommon |
| 24 |
#define xkb_context_num_include_paths xkb_context_num_include_paths_dylibloader_orig_xkbcommon |
| 25 |
#define xkb_context_include_path_get xkb_context_include_path_get_dylibloader_orig_xkbcommon |
| 26 |
#define xkb_context_set_log_level xkb_context_set_log_level_dylibloader_orig_xkbcommon |
| 27 |
#define xkb_context_get_log_level xkb_context_get_log_level_dylibloader_orig_xkbcommon |
| 28 |
#define xkb_context_set_log_verbosity xkb_context_set_log_verbosity_dylibloader_orig_xkbcommon |
| 29 |
#define xkb_context_get_log_verbosity xkb_context_get_log_verbosity_dylibloader_orig_xkbcommon |
| 30 |
#define xkb_context_set_log_fn xkb_context_set_log_fn_dylibloader_orig_xkbcommon |
| 31 |
#define xkb_keymap_new_from_names xkb_keymap_new_from_names_dylibloader_orig_xkbcommon |
| 32 |
#define xkb_keymap_new_from_file xkb_keymap_new_from_file_dylibloader_orig_xkbcommon |
| 33 |
#define xkb_keymap_new_from_string xkb_keymap_new_from_string_dylibloader_orig_xkbcommon |
| 34 |
#define xkb_keymap_new_from_buffer xkb_keymap_new_from_buffer_dylibloader_orig_xkbcommon |
| 35 |
#define xkb_keymap_ref xkb_keymap_ref_dylibloader_orig_xkbcommon |
| 36 |
#define xkb_keymap_unref xkb_keymap_unref_dylibloader_orig_xkbcommon |
| 37 |
#define xkb_keymap_get_as_string xkb_keymap_get_as_string_dylibloader_orig_xkbcommon |
| 38 |
#define xkb_keymap_min_keycode xkb_keymap_min_keycode_dylibloader_orig_xkbcommon |
| 39 |
#define xkb_keymap_max_keycode xkb_keymap_max_keycode_dylibloader_orig_xkbcommon |
| 40 |
#define xkb_keymap_key_for_each xkb_keymap_key_for_each_dylibloader_orig_xkbcommon |
| 41 |
#define xkb_keymap_key_get_name xkb_keymap_key_get_name_dylibloader_orig_xkbcommon |
| 42 |
#define xkb_keymap_key_by_name xkb_keymap_key_by_name_dylibloader_orig_xkbcommon |
| 43 |
#define xkb_keymap_num_mods xkb_keymap_num_mods_dylibloader_orig_xkbcommon |
| 44 |
#define xkb_keymap_mod_get_name xkb_keymap_mod_get_name_dylibloader_orig_xkbcommon |
| 45 |
#define xkb_keymap_mod_get_index xkb_keymap_mod_get_index_dylibloader_orig_xkbcommon |
| 46 |
#define xkb_keymap_num_layouts xkb_keymap_num_layouts_dylibloader_orig_xkbcommon |
| 47 |
#define xkb_keymap_layout_get_name xkb_keymap_layout_get_name_dylibloader_orig_xkbcommon |
| 48 |
#define xkb_keymap_layout_get_index xkb_keymap_layout_get_index_dylibloader_orig_xkbcommon |
| 49 |
#define xkb_keymap_num_leds xkb_keymap_num_leds_dylibloader_orig_xkbcommon |
| 50 |
#define xkb_keymap_led_get_name xkb_keymap_led_get_name_dylibloader_orig_xkbcommon |
| 51 |
#define xkb_keymap_led_get_index xkb_keymap_led_get_index_dylibloader_orig_xkbcommon |
| 52 |
#define xkb_keymap_num_layouts_for_key xkb_keymap_num_layouts_for_key_dylibloader_orig_xkbcommon |
| 53 |
#define xkb_keymap_num_levels_for_key xkb_keymap_num_levels_for_key_dylibloader_orig_xkbcommon |
| 54 |
#define xkb_keymap_key_get_mods_for_level xkb_keymap_key_get_mods_for_level_dylibloader_orig_xkbcommon |
| 55 |
#define xkb_keymap_key_get_syms_by_level xkb_keymap_key_get_syms_by_level_dylibloader_orig_xkbcommon |
| 56 |
#define xkb_keymap_key_repeats xkb_keymap_key_repeats_dylibloader_orig_xkbcommon |
| 57 |
#define xkb_state_new xkb_state_new_dylibloader_orig_xkbcommon |
| 58 |
#define xkb_state_ref xkb_state_ref_dylibloader_orig_xkbcommon |
| 59 |
#define xkb_state_unref xkb_state_unref_dylibloader_orig_xkbcommon |
| 60 |
#define xkb_state_get_keymap xkb_state_get_keymap_dylibloader_orig_xkbcommon |
| 61 |
#define xkb_state_update_key xkb_state_update_key_dylibloader_orig_xkbcommon |
| 62 |
#define xkb_state_update_mask xkb_state_update_mask_dylibloader_orig_xkbcommon |
| 63 |
#define xkb_state_key_get_syms xkb_state_key_get_syms_dylibloader_orig_xkbcommon |
| 64 |
#define xkb_state_key_get_utf8 xkb_state_key_get_utf8_dylibloader_orig_xkbcommon |
| 65 |
#define xkb_state_key_get_utf32 xkb_state_key_get_utf32_dylibloader_orig_xkbcommon |
| 66 |
#define xkb_state_key_get_one_sym xkb_state_key_get_one_sym_dylibloader_orig_xkbcommon |
| 67 |
#define xkb_state_key_get_layout xkb_state_key_get_layout_dylibloader_orig_xkbcommon |
| 68 |
#define xkb_state_key_get_level xkb_state_key_get_level_dylibloader_orig_xkbcommon |
| 69 |
#define xkb_state_serialize_mods xkb_state_serialize_mods_dylibloader_orig_xkbcommon |
| 70 |
#define xkb_state_serialize_layout xkb_state_serialize_layout_dylibloader_orig_xkbcommon |
| 71 |
#define xkb_state_mod_name_is_active xkb_state_mod_name_is_active_dylibloader_orig_xkbcommon |
| 72 |
#define xkb_state_mod_names_are_active xkb_state_mod_names_are_active_dylibloader_orig_xkbcommon |
| 73 |
#define xkb_state_mod_index_is_active xkb_state_mod_index_is_active_dylibloader_orig_xkbcommon |
| 74 |
#define xkb_state_mod_indices_are_active xkb_state_mod_indices_are_active_dylibloader_orig_xkbcommon |
| 75 |
#define xkb_state_key_get_consumed_mods2 xkb_state_key_get_consumed_mods2_dylibloader_orig_xkbcommon |
| 76 |
#define xkb_state_key_get_consumed_mods xkb_state_key_get_consumed_mods_dylibloader_orig_xkbcommon |
| 77 |
#define xkb_state_mod_index_is_consumed2 xkb_state_mod_index_is_consumed2_dylibloader_orig_xkbcommon |
| 78 |
#define xkb_state_mod_index_is_consumed xkb_state_mod_index_is_consumed_dylibloader_orig_xkbcommon |
| 79 |
#define xkb_state_mod_mask_remove_consumed xkb_state_mod_mask_remove_consumed_dylibloader_orig_xkbcommon |
| 80 |
#define xkb_state_layout_name_is_active xkb_state_layout_name_is_active_dylibloader_orig_xkbcommon |
| 81 |
#define xkb_state_layout_index_is_active xkb_state_layout_index_is_active_dylibloader_orig_xkbcommon |
| 82 |
#define xkb_state_led_name_is_active xkb_state_led_name_is_active_dylibloader_orig_xkbcommon |
| 83 |
#define xkb_state_led_index_is_active xkb_state_led_index_is_active_dylibloader_orig_xkbcommon |
| 84 |
#define xkb_compose_table_new_from_locale xkb_compose_table_new_from_locale_dylibloader_orig_xkbcommon |
| 85 |
#define xkb_compose_table_new_from_file xkb_compose_table_new_from_file_dylibloader_orig_xkbcommon |
| 86 |
#define xkb_compose_table_new_from_buffer xkb_compose_table_new_from_buffer_dylibloader_orig_xkbcommon |
| 87 |
#define xkb_compose_table_ref xkb_compose_table_ref_dylibloader_orig_xkbcommon |
| 88 |
#define xkb_compose_table_unref xkb_compose_table_unref_dylibloader_orig_xkbcommon |
| 89 |
#define xkb_compose_state_new xkb_compose_state_new_dylibloader_orig_xkbcommon |
| 90 |
#define xkb_compose_state_ref xkb_compose_state_ref_dylibloader_orig_xkbcommon |
| 91 |
#define xkb_compose_state_unref xkb_compose_state_unref_dylibloader_orig_xkbcommon |
| 92 |
#define xkb_compose_state_get_compose_table xkb_compose_state_get_compose_table_dylibloader_orig_xkbcommon |
| 93 |
#define xkb_compose_state_feed xkb_compose_state_feed_dylibloader_orig_xkbcommon |
| 94 |
#define xkb_compose_state_reset xkb_compose_state_reset_dylibloader_orig_xkbcommon |
| 95 |
#define xkb_compose_state_get_status xkb_compose_state_get_status_dylibloader_orig_xkbcommon |
| 96 |
#define xkb_compose_state_get_utf8 xkb_compose_state_get_utf8_dylibloader_orig_xkbcommon |
| 97 |
#define xkb_compose_state_get_one_sym xkb_compose_state_get_one_sym_dylibloader_orig_xkbcommon |
| 98 |
#include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon.h" |
| 99 |
#include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-compose.h" |
| 100 |
#include "./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-keysyms.h" |
| 101 |
#undef xkb_keysym_get_name |
| 102 |
#undef xkb_keysym_from_name |
| 103 |
#undef xkb_keysym_to_utf8 |
| 104 |
#undef xkb_keysym_to_utf32 |
| 105 |
#undef xkb_utf32_to_keysym |
| 106 |
#undef xkb_keysym_to_upper |
| 107 |
#undef xkb_keysym_to_lower |
| 108 |
#undef xkb_context_new |
| 109 |
#undef xkb_context_ref |
| 110 |
#undef xkb_context_unref |
| 111 |
#undef xkb_context_set_user_data |
| 112 |
#undef xkb_context_get_user_data |
| 113 |
#undef xkb_context_include_path_append |
| 114 |
#undef xkb_context_include_path_append_default |
| 115 |
#undef xkb_context_include_path_reset_defaults |
| 116 |
#undef xkb_context_include_path_clear |
| 117 |
#undef xkb_context_num_include_paths |
| 118 |
#undef xkb_context_include_path_get |
| 119 |
#undef xkb_context_set_log_level |
| 120 |
#undef xkb_context_get_log_level |
| 121 |
#undef xkb_context_set_log_verbosity |
| 122 |
#undef xkb_context_get_log_verbosity |
| 123 |
#undef xkb_context_set_log_fn |
| 124 |
#undef xkb_keymap_new_from_names |
| 125 |
#undef xkb_keymap_new_from_file |
| 126 |
#undef xkb_keymap_new_from_string |
| 127 |
#undef xkb_keymap_new_from_buffer |
| 128 |
#undef xkb_keymap_ref |
| 129 |
#undef xkb_keymap_unref |
| 130 |
#undef xkb_keymap_get_as_string |
| 131 |
#undef xkb_keymap_min_keycode |
| 132 |
#undef xkb_keymap_max_keycode |
| 133 |
#undef xkb_keymap_key_for_each |
| 134 |
#undef xkb_keymap_key_get_name |
| 135 |
#undef xkb_keymap_key_by_name |
| 136 |
#undef xkb_keymap_num_mods |
| 137 |
#undef xkb_keymap_mod_get_name |
| 138 |
#undef xkb_keymap_mod_get_index |
| 139 |
#undef xkb_keymap_num_layouts |
| 140 |
#undef xkb_keymap_layout_get_name |
| 141 |
#undef xkb_keymap_layout_get_index |
| 142 |
#undef xkb_keymap_num_leds |
| 143 |
#undef xkb_keymap_led_get_name |
| 144 |
#undef xkb_keymap_led_get_index |
| 145 |
#undef xkb_keymap_num_layouts_for_key |
| 146 |
#undef xkb_keymap_num_levels_for_key |
| 147 |
#undef xkb_keymap_key_get_mods_for_level |
| 148 |
#undef xkb_keymap_key_get_syms_by_level |
| 149 |
#undef xkb_keymap_key_repeats |
| 150 |
#undef xkb_state_new |
| 151 |
#undef xkb_state_ref |
| 152 |
#undef xkb_state_unref |
| 153 |
#undef xkb_state_get_keymap |
| 154 |
#undef xkb_state_update_key |
| 155 |
#undef xkb_state_update_mask |
| 156 |
#undef xkb_state_key_get_syms |
| 157 |
#undef xkb_state_key_get_utf8 |
| 158 |
#undef xkb_state_key_get_utf32 |
| 159 |
#undef xkb_state_key_get_one_sym |
| 160 |
#undef xkb_state_key_get_layout |
| 161 |
#undef xkb_state_key_get_level |
| 162 |
#undef xkb_state_serialize_mods |
| 163 |
#undef xkb_state_serialize_layout |
| 164 |
#undef xkb_state_mod_name_is_active |
| 165 |
#undef xkb_state_mod_names_are_active |
| 166 |
#undef xkb_state_mod_index_is_active |
| 167 |
#undef xkb_state_mod_indices_are_active |
| 168 |
#undef xkb_state_key_get_consumed_mods2 |
| 169 |
#undef xkb_state_key_get_consumed_mods |
| 170 |
#undef xkb_state_mod_index_is_consumed2 |
| 171 |
#undef xkb_state_mod_index_is_consumed |
| 172 |
#undef xkb_state_mod_mask_remove_consumed |
| 173 |
#undef xkb_state_layout_name_is_active |
| 174 |
#undef xkb_state_layout_index_is_active |
| 175 |
#undef xkb_state_led_name_is_active |
| 176 |
#undef xkb_state_led_index_is_active |
| 177 |
#undef xkb_compose_table_new_from_locale |
| 178 |
#undef xkb_compose_table_new_from_file |
| 179 |
#undef xkb_compose_table_new_from_buffer |
| 180 |
#undef xkb_compose_table_ref |
| 181 |
#undef xkb_compose_table_unref |
| 182 |
#undef xkb_compose_state_new |
| 183 |
#undef xkb_compose_state_ref |
| 184 |
#undef xkb_compose_state_unref |
| 185 |
#undef xkb_compose_state_get_compose_table |
| 186 |
#undef xkb_compose_state_feed |
| 187 |
#undef xkb_compose_state_reset |
| 188 |
#undef xkb_compose_state_get_status |
| 189 |
#undef xkb_compose_state_get_utf8 |
| 190 |
#undef xkb_compose_state_get_one_sym |
| 191 |
#include <dlfcn.h> |
| 192 |
#include <stdio.h> |
| 193 |
int (*xkb_keysym_get_name_dylibloader_wrapper_xkbcommon)( xkb_keysym_t, char*, size_t); |
| 194 |
xkb_keysym_t (*xkb_keysym_from_name_dylibloader_wrapper_xkbcommon)(const char*,enum xkb_keysym_flags); |
| 195 |
int (*xkb_keysym_to_utf8_dylibloader_wrapper_xkbcommon)( xkb_keysym_t, char*, size_t); |
| 196 |
uint32_t (*xkb_keysym_to_utf32_dylibloader_wrapper_xkbcommon)( xkb_keysym_t); |
| 197 |
xkb_keysym_t (*xkb_utf32_to_keysym_dylibloader_wrapper_xkbcommon)( uint32_t); |
| 198 |
xkb_keysym_t (*xkb_keysym_to_upper_dylibloader_wrapper_xkbcommon)( xkb_keysym_t); |
| 199 |
xkb_keysym_t (*xkb_keysym_to_lower_dylibloader_wrapper_xkbcommon)( xkb_keysym_t); |
| 200 |
struct xkb_context* (*xkb_context_new_dylibloader_wrapper_xkbcommon)(enum xkb_context_flags); |
| 201 |
struct xkb_context* (*xkb_context_ref_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 202 |
void (*xkb_context_unref_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 203 |
void (*xkb_context_set_user_data_dylibloader_wrapper_xkbcommon)(struct xkb_context*, void*); |
| 204 |
void* (*xkb_context_get_user_data_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 205 |
int (*xkb_context_include_path_append_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*); |
| 206 |
int (*xkb_context_include_path_append_default_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 207 |
int (*xkb_context_include_path_reset_defaults_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 208 |
void (*xkb_context_include_path_clear_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 209 |
unsigned int (*xkb_context_num_include_paths_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 210 |
const char* (*xkb_context_include_path_get_dylibloader_wrapper_xkbcommon)(struct xkb_context*, unsigned int); |
| 211 |
void (*xkb_context_set_log_level_dylibloader_wrapper_xkbcommon)(struct xkb_context*,enum xkb_log_level); |
| 212 |
enum xkb_log_level (*xkb_context_get_log_level_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 213 |
void (*xkb_context_set_log_verbosity_dylibloader_wrapper_xkbcommon)(struct xkb_context*, int); |
| 214 |
int (*xkb_context_get_log_verbosity_dylibloader_wrapper_xkbcommon)(struct xkb_context*); |
| 215 |
void (*xkb_context_set_log_fn_dylibloader_wrapper_xkbcommon)(struct xkb_context*, void*); |
| 216 |
struct xkb_keymap* (*xkb_keymap_new_from_names_dylibloader_wrapper_xkbcommon)(struct xkb_context*,struct xkb_rule_names*,enum xkb_keymap_compile_flags); |
| 217 |
struct xkb_keymap* (*xkb_keymap_new_from_file_dylibloader_wrapper_xkbcommon)(struct xkb_context*, FILE*,enum xkb_keymap_format,enum xkb_keymap_compile_flags); |
| 218 |
struct xkb_keymap* (*xkb_keymap_new_from_string_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*,enum xkb_keymap_format,enum xkb_keymap_compile_flags); |
| 219 |
struct 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); |
| 220 |
struct xkb_keymap* (*xkb_keymap_ref_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*); |
| 221 |
void (*xkb_keymap_unref_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*); |
| 222 |
char* (*xkb_keymap_get_as_string_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,enum xkb_keymap_format); |
| 223 |
xkb_keycode_t (*xkb_keymap_min_keycode_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*); |
| 224 |
xkb_keycode_t (*xkb_keymap_max_keycode_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*); |
| 225 |
void (*xkb_keymap_key_for_each_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keymap_key_iter_t, void*); |
| 226 |
const char* (*xkb_keymap_key_get_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t); |
| 227 |
xkb_keycode_t (*xkb_keymap_key_by_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,const char*); |
| 228 |
xkb_mod_index_t (*xkb_keymap_num_mods_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*); |
| 229 |
const char* (*xkb_keymap_mod_get_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_mod_index_t); |
| 230 |
xkb_mod_index_t (*xkb_keymap_mod_get_index_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,const char*); |
| 231 |
xkb_layout_index_t (*xkb_keymap_num_layouts_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*); |
| 232 |
const char* (*xkb_keymap_layout_get_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_layout_index_t); |
| 233 |
xkb_layout_index_t (*xkb_keymap_layout_get_index_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,const char*); |
| 234 |
xkb_led_index_t (*xkb_keymap_num_leds_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*); |
| 235 |
const char* (*xkb_keymap_led_get_name_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_led_index_t); |
| 236 |
xkb_led_index_t (*xkb_keymap_led_get_index_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*,const char*); |
| 237 |
xkb_layout_index_t (*xkb_keymap_num_layouts_for_key_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t); |
| 238 |
xkb_level_index_t (*xkb_keymap_num_levels_for_key_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t, xkb_layout_index_t); |
| 239 |
size_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); |
| 240 |
int (*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**); |
| 241 |
int (*xkb_keymap_key_repeats_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*, xkb_keycode_t); |
| 242 |
struct xkb_state* (*xkb_state_new_dylibloader_wrapper_xkbcommon)(struct xkb_keymap*); |
| 243 |
struct xkb_state* (*xkb_state_ref_dylibloader_wrapper_xkbcommon)(struct xkb_state*); |
| 244 |
void (*xkb_state_unref_dylibloader_wrapper_xkbcommon)(struct xkb_state*); |
| 245 |
struct xkb_keymap* (*xkb_state_get_keymap_dylibloader_wrapper_xkbcommon)(struct xkb_state*); |
| 246 |
enum xkb_state_component (*xkb_state_update_key_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t,enum xkb_key_direction); |
| 247 |
enum 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); |
| 248 |
int (*xkb_state_key_get_syms_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t,const xkb_keysym_t**); |
| 249 |
int (*xkb_state_key_get_utf8_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, char*, size_t); |
| 250 |
uint32_t (*xkb_state_key_get_utf32_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t); |
| 251 |
xkb_keysym_t (*xkb_state_key_get_one_sym_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t); |
| 252 |
xkb_layout_index_t (*xkb_state_key_get_layout_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t); |
| 253 |
xkb_level_index_t (*xkb_state_key_get_level_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, xkb_layout_index_t); |
| 254 |
xkb_mod_mask_t (*xkb_state_serialize_mods_dylibloader_wrapper_xkbcommon)(struct xkb_state*,enum xkb_state_component); |
| 255 |
xkb_layout_index_t (*xkb_state_serialize_layout_dylibloader_wrapper_xkbcommon)(struct xkb_state*,enum xkb_state_component); |
| 256 |
int (*xkb_state_mod_name_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,const char*,enum xkb_state_component); |
| 257 |
int (*xkb_state_mod_names_are_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,enum xkb_state_component,enum xkb_state_match,...); |
| 258 |
int (*xkb_state_mod_index_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_mod_index_t,enum xkb_state_component); |
| 259 |
int (*xkb_state_mod_indices_are_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,enum xkb_state_component,enum xkb_state_match,...); |
| 260 |
xkb_mod_mask_t (*xkb_state_key_get_consumed_mods2_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t,enum xkb_consumed_mode); |
| 261 |
xkb_mod_mask_t (*xkb_state_key_get_consumed_mods_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t); |
| 262 |
int (*xkb_state_mod_index_is_consumed2_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, xkb_mod_index_t,enum xkb_consumed_mode); |
| 263 |
int (*xkb_state_mod_index_is_consumed_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, xkb_mod_index_t); |
| 264 |
xkb_mod_mask_t (*xkb_state_mod_mask_remove_consumed_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_keycode_t, xkb_mod_mask_t); |
| 265 |
int (*xkb_state_layout_name_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,const char*,enum xkb_state_component); |
| 266 |
int (*xkb_state_layout_index_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_layout_index_t,enum xkb_state_component); |
| 267 |
int (*xkb_state_led_name_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*,const char*); |
| 268 |
int (*xkb_state_led_index_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_led_index_t); |
| 269 |
struct xkb_compose_table* (*xkb_compose_table_new_from_locale_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*,enum xkb_compose_compile_flags); |
| 270 |
struct 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); |
| 271 |
struct 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); |
| 272 |
struct xkb_compose_table* (*xkb_compose_table_ref_dylibloader_wrapper_xkbcommon)(struct xkb_compose_table*); |
| 273 |
void (*xkb_compose_table_unref_dylibloader_wrapper_xkbcommon)(struct xkb_compose_table*); |
| 274 |
struct xkb_compose_state* (*xkb_compose_state_new_dylibloader_wrapper_xkbcommon)(struct xkb_compose_table*,enum xkb_compose_state_flags); |
| 275 |
struct xkb_compose_state* (*xkb_compose_state_ref_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*); |
| 276 |
void (*xkb_compose_state_unref_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*); |
| 277 |
struct xkb_compose_table* (*xkb_compose_state_get_compose_table_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*); |
| 278 |
enum xkb_compose_feed_result (*xkb_compose_state_feed_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*, xkb_keysym_t); |
| 279 |
void (*xkb_compose_state_reset_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*); |
| 280 |
enum xkb_compose_status (*xkb_compose_state_get_status_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*); |
| 281 |
int (*xkb_compose_state_get_utf8_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*, char*, size_t); |
| 282 |
xkb_keysym_t (*xkb_compose_state_get_one_sym_dylibloader_wrapper_xkbcommon)(struct xkb_compose_state*); |
| 283 |
int initialize_xkbcommon(int verbose) { |
| 284 |
void *handle; |
| 285 |
char *error; |
| 286 |
handle = dlopen("libxkbcommon.so.0", RTLD_LAZY); |
| 287 |
if (!handle) { |
| 288 |
if (verbose) { |
| 289 |
fprintf(stderr, "%s\n", dlerror()); |
| 290 |
} |
| 291 |
return(1); |
| 292 |
} |
| 293 |
dlerror(); |
| 294 |
|
| 295 |
*(void **) (&xkb_keysym_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_get_name"); |
| 296 |
if (verbose) { |
| 297 |
error = dlerror(); |
| 298 |
if (error != NULL) { |
| 299 |
fprintf(stderr, "%s\n", error); |
| 300 |
} |
| 301 |
} |
| 302 |
|
| 303 |
*(void **) (&xkb_keysym_from_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_from_name"); |
| 304 |
if (verbose) { |
| 305 |
error = dlerror(); |
| 306 |
if (error != NULL) { |
| 307 |
fprintf(stderr, "%s\n", error); |
| 308 |
} |
| 309 |
} |
| 310 |
|
| 311 |
*(void **) (&xkb_keysym_to_utf8_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_to_utf8"); |
| 312 |
if (verbose) { |
| 313 |
error = dlerror(); |
| 314 |
if (error != NULL) { |
| 315 |
fprintf(stderr, "%s\n", error); |
| 316 |
} |
| 317 |
} |
| 318 |
|
| 319 |
*(void **) (&xkb_keysym_to_utf32_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_to_utf32"); |
| 320 |
if (verbose) { |
| 321 |
error = dlerror(); |
| 322 |
if (error != NULL) { |
| 323 |
fprintf(stderr, "%s\n", error); |
| 324 |
} |
| 325 |
} |
| 326 |
|
| 327 |
*(void **) (&xkb_utf32_to_keysym_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_utf32_to_keysym"); |
| 328 |
if (verbose) { |
| 329 |
error = dlerror(); |
| 330 |
if (error != NULL) { |
| 331 |
fprintf(stderr, "%s\n", error); |
| 332 |
} |
| 333 |
} |
| 334 |
|
| 335 |
*(void **) (&xkb_keysym_to_upper_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_to_upper"); |
| 336 |
if (verbose) { |
| 337 |
error = dlerror(); |
| 338 |
if (error != NULL) { |
| 339 |
fprintf(stderr, "%s\n", error); |
| 340 |
} |
| 341 |
} |
| 342 |
|
| 343 |
*(void **) (&xkb_keysym_to_lower_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keysym_to_lower"); |
| 344 |
if (verbose) { |
| 345 |
error = dlerror(); |
| 346 |
if (error != NULL) { |
| 347 |
fprintf(stderr, "%s\n", error); |
| 348 |
} |
| 349 |
} |
| 350 |
|
| 351 |
*(void **) (&xkb_context_new_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_new"); |
| 352 |
if (verbose) { |
| 353 |
error = dlerror(); |
| 354 |
if (error != NULL) { |
| 355 |
fprintf(stderr, "%s\n", error); |
| 356 |
} |
| 357 |
} |
| 358 |
|
| 359 |
*(void **) (&xkb_context_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_ref"); |
| 360 |
if (verbose) { |
| 361 |
error = dlerror(); |
| 362 |
if (error != NULL) { |
| 363 |
fprintf(stderr, "%s\n", error); |
| 364 |
} |
| 365 |
} |
| 366 |
|
| 367 |
*(void **) (&xkb_context_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_unref"); |
| 368 |
if (verbose) { |
| 369 |
error = dlerror(); |
| 370 |
if (error != NULL) { |
| 371 |
fprintf(stderr, "%s\n", error); |
| 372 |
} |
| 373 |
} |
| 374 |
|
| 375 |
*(void **) (&xkb_context_set_user_data_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_set_user_data"); |
| 376 |
if (verbose) { |
| 377 |
error = dlerror(); |
| 378 |
if (error != NULL) { |
| 379 |
fprintf(stderr, "%s\n", error); |
| 380 |
} |
| 381 |
} |
| 382 |
|
| 383 |
*(void **) (&xkb_context_get_user_data_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_get_user_data"); |
| 384 |
if (verbose) { |
| 385 |
error = dlerror(); |
| 386 |
if (error != NULL) { |
| 387 |
fprintf(stderr, "%s\n", error); |
| 388 |
} |
| 389 |
} |
| 390 |
|
| 391 |
*(void **) (&xkb_context_include_path_append_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_append"); |
| 392 |
if (verbose) { |
| 393 |
error = dlerror(); |
| 394 |
if (error != NULL) { |
| 395 |
fprintf(stderr, "%s\n", error); |
| 396 |
} |
| 397 |
} |
| 398 |
|
| 399 |
*(void **) (&xkb_context_include_path_append_default_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_append_default"); |
| 400 |
if (verbose) { |
| 401 |
error = dlerror(); |
| 402 |
if (error != NULL) { |
| 403 |
fprintf(stderr, "%s\n", error); |
| 404 |
} |
| 405 |
} |
| 406 |
|
| 407 |
*(void **) (&xkb_context_include_path_reset_defaults_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_reset_defaults"); |
| 408 |
if (verbose) { |
| 409 |
error = dlerror(); |
| 410 |
if (error != NULL) { |
| 411 |
fprintf(stderr, "%s\n", error); |
| 412 |
} |
| 413 |
} |
| 414 |
|
| 415 |
*(void **) (&xkb_context_include_path_clear_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_clear"); |
| 416 |
if (verbose) { |
| 417 |
error = dlerror(); |
| 418 |
if (error != NULL) { |
| 419 |
fprintf(stderr, "%s\n", error); |
| 420 |
} |
| 421 |
} |
| 422 |
|
| 423 |
*(void **) (&xkb_context_num_include_paths_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_num_include_paths"); |
| 424 |
if (verbose) { |
| 425 |
error = dlerror(); |
| 426 |
if (error != NULL) { |
| 427 |
fprintf(stderr, "%s\n", error); |
| 428 |
} |
| 429 |
} |
| 430 |
|
| 431 |
*(void **) (&xkb_context_include_path_get_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_include_path_get"); |
| 432 |
if (verbose) { |
| 433 |
error = dlerror(); |
| 434 |
if (error != NULL) { |
| 435 |
fprintf(stderr, "%s\n", error); |
| 436 |
} |
| 437 |
} |
| 438 |
|
| 439 |
*(void **) (&xkb_context_set_log_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_set_log_level"); |
| 440 |
if (verbose) { |
| 441 |
error = dlerror(); |
| 442 |
if (error != NULL) { |
| 443 |
fprintf(stderr, "%s\n", error); |
| 444 |
} |
| 445 |
} |
| 446 |
|
| 447 |
*(void **) (&xkb_context_get_log_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_get_log_level"); |
| 448 |
if (verbose) { |
| 449 |
error = dlerror(); |
| 450 |
if (error != NULL) { |
| 451 |
fprintf(stderr, "%s\n", error); |
| 452 |
} |
| 453 |
} |
| 454 |
|
| 455 |
*(void **) (&xkb_context_set_log_verbosity_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_set_log_verbosity"); |
| 456 |
if (verbose) { |
| 457 |
error = dlerror(); |
| 458 |
if (error != NULL) { |
| 459 |
fprintf(stderr, "%s\n", error); |
| 460 |
} |
| 461 |
} |
| 462 |
|
| 463 |
*(void **) (&xkb_context_get_log_verbosity_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_get_log_verbosity"); |
| 464 |
if (verbose) { |
| 465 |
error = dlerror(); |
| 466 |
if (error != NULL) { |
| 467 |
fprintf(stderr, "%s\n", error); |
| 468 |
} |
| 469 |
} |
| 470 |
|
| 471 |
*(void **) (&xkb_context_set_log_fn_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_context_set_log_fn"); |
| 472 |
if (verbose) { |
| 473 |
error = dlerror(); |
| 474 |
if (error != NULL) { |
| 475 |
fprintf(stderr, "%s\n", error); |
| 476 |
} |
| 477 |
} |
| 478 |
|
| 479 |
*(void **) (&xkb_keymap_new_from_names_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_new_from_names"); |
| 480 |
if (verbose) { |
| 481 |
error = dlerror(); |
| 482 |
if (error != NULL) { |
| 483 |
fprintf(stderr, "%s\n", error); |
| 484 |
} |
| 485 |
} |
| 486 |
|
| 487 |
*(void **) (&xkb_keymap_new_from_file_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_new_from_file"); |
| 488 |
if (verbose) { |
| 489 |
error = dlerror(); |
| 490 |
if (error != NULL) { |
| 491 |
fprintf(stderr, "%s\n", error); |
| 492 |
} |
| 493 |
} |
| 494 |
|
| 495 |
*(void **) (&xkb_keymap_new_from_string_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_new_from_string"); |
| 496 |
if (verbose) { |
| 497 |
error = dlerror(); |
| 498 |
if (error != NULL) { |
| 499 |
fprintf(stderr, "%s\n", error); |
| 500 |
} |
| 501 |
} |
| 502 |
|
| 503 |
*(void **) (&xkb_keymap_new_from_buffer_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_new_from_buffer"); |
| 504 |
if (verbose) { |
| 505 |
error = dlerror(); |
| 506 |
if (error != NULL) { |
| 507 |
fprintf(stderr, "%s\n", error); |
| 508 |
} |
| 509 |
} |
| 510 |
|
| 511 |
*(void **) (&xkb_keymap_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_ref"); |
| 512 |
if (verbose) { |
| 513 |
error = dlerror(); |
| 514 |
if (error != NULL) { |
| 515 |
fprintf(stderr, "%s\n", error); |
| 516 |
} |
| 517 |
} |
| 518 |
|
| 519 |
*(void **) (&xkb_keymap_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_unref"); |
| 520 |
if (verbose) { |
| 521 |
error = dlerror(); |
| 522 |
if (error != NULL) { |
| 523 |
fprintf(stderr, "%s\n", error); |
| 524 |
} |
| 525 |
} |
| 526 |
|
| 527 |
*(void **) (&xkb_keymap_get_as_string_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_get_as_string"); |
| 528 |
if (verbose) { |
| 529 |
error = dlerror(); |
| 530 |
if (error != NULL) { |
| 531 |
fprintf(stderr, "%s\n", error); |
| 532 |
} |
| 533 |
} |
| 534 |
|
| 535 |
*(void **) (&xkb_keymap_min_keycode_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_min_keycode"); |
| 536 |
if (verbose) { |
| 537 |
error = dlerror(); |
| 538 |
if (error != NULL) { |
| 539 |
fprintf(stderr, "%s\n", error); |
| 540 |
} |
| 541 |
} |
| 542 |
|
| 543 |
*(void **) (&xkb_keymap_max_keycode_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_max_keycode"); |
| 544 |
if (verbose) { |
| 545 |
error = dlerror(); |
| 546 |
if (error != NULL) { |
| 547 |
fprintf(stderr, "%s\n", error); |
| 548 |
} |
| 549 |
} |
| 550 |
|
| 551 |
*(void **) (&xkb_keymap_key_for_each_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_for_each"); |
| 552 |
if (verbose) { |
| 553 |
error = dlerror(); |
| 554 |
if (error != NULL) { |
| 555 |
fprintf(stderr, "%s\n", error); |
| 556 |
} |
| 557 |
} |
| 558 |
|
| 559 |
*(void **) (&xkb_keymap_key_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_get_name"); |
| 560 |
if (verbose) { |
| 561 |
error = dlerror(); |
| 562 |
if (error != NULL) { |
| 563 |
fprintf(stderr, "%s\n", error); |
| 564 |
} |
| 565 |
} |
| 566 |
|
| 567 |
*(void **) (&xkb_keymap_key_by_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_by_name"); |
| 568 |
if (verbose) { |
| 569 |
error = dlerror(); |
| 570 |
if (error != NULL) { |
| 571 |
fprintf(stderr, "%s\n", error); |
| 572 |
} |
| 573 |
} |
| 574 |
|
| 575 |
*(void **) (&xkb_keymap_num_mods_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_mods"); |
| 576 |
if (verbose) { |
| 577 |
error = dlerror(); |
| 578 |
if (error != NULL) { |
| 579 |
fprintf(stderr, "%s\n", error); |
| 580 |
} |
| 581 |
} |
| 582 |
|
| 583 |
*(void **) (&xkb_keymap_mod_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_mod_get_name"); |
| 584 |
if (verbose) { |
| 585 |
error = dlerror(); |
| 586 |
if (error != NULL) { |
| 587 |
fprintf(stderr, "%s\n", error); |
| 588 |
} |
| 589 |
} |
| 590 |
|
| 591 |
*(void **) (&xkb_keymap_mod_get_index_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_mod_get_index"); |
| 592 |
if (verbose) { |
| 593 |
error = dlerror(); |
| 594 |
if (error != NULL) { |
| 595 |
fprintf(stderr, "%s\n", error); |
| 596 |
} |
| 597 |
} |
| 598 |
|
| 599 |
*(void **) (&xkb_keymap_num_layouts_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_layouts"); |
| 600 |
if (verbose) { |
| 601 |
error = dlerror(); |
| 602 |
if (error != NULL) { |
| 603 |
fprintf(stderr, "%s\n", error); |
| 604 |
} |
| 605 |
} |
| 606 |
|
| 607 |
*(void **) (&xkb_keymap_layout_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_layout_get_name"); |
| 608 |
if (verbose) { |
| 609 |
error = dlerror(); |
| 610 |
if (error != NULL) { |
| 611 |
fprintf(stderr, "%s\n", error); |
| 612 |
} |
| 613 |
} |
| 614 |
|
| 615 |
*(void **) (&xkb_keymap_layout_get_index_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_layout_get_index"); |
| 616 |
if (verbose) { |
| 617 |
error = dlerror(); |
| 618 |
if (error != NULL) { |
| 619 |
fprintf(stderr, "%s\n", error); |
| 620 |
} |
| 621 |
} |
| 622 |
|
| 623 |
*(void **) (&xkb_keymap_num_leds_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_leds"); |
| 624 |
if (verbose) { |
| 625 |
error = dlerror(); |
| 626 |
if (error != NULL) { |
| 627 |
fprintf(stderr, "%s\n", error); |
| 628 |
} |
| 629 |
} |
| 630 |
|
| 631 |
*(void **) (&xkb_keymap_led_get_name_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_led_get_name"); |
| 632 |
if (verbose) { |
| 633 |
error = dlerror(); |
| 634 |
if (error != NULL) { |
| 635 |
fprintf(stderr, "%s\n", error); |
| 636 |
} |
| 637 |
} |
| 638 |
|
| 639 |
*(void **) (&xkb_keymap_led_get_index_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_led_get_index"); |
| 640 |
if (verbose) { |
| 641 |
error = dlerror(); |
| 642 |
if (error != NULL) { |
| 643 |
fprintf(stderr, "%s\n", error); |
| 644 |
} |
| 645 |
} |
| 646 |
|
| 647 |
*(void **) (&xkb_keymap_num_layouts_for_key_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_layouts_for_key"); |
| 648 |
if (verbose) { |
| 649 |
error = dlerror(); |
| 650 |
if (error != NULL) { |
| 651 |
fprintf(stderr, "%s\n", error); |
| 652 |
} |
| 653 |
} |
| 654 |
|
| 655 |
*(void **) (&xkb_keymap_num_levels_for_key_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_num_levels_for_key"); |
| 656 |
if (verbose) { |
| 657 |
error = dlerror(); |
| 658 |
if (error != NULL) { |
| 659 |
fprintf(stderr, "%s\n", error); |
| 660 |
} |
| 661 |
} |
| 662 |
|
| 663 |
*(void **) (&xkb_keymap_key_get_mods_for_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_get_mods_for_level"); |
| 664 |
if (verbose) { |
| 665 |
error = dlerror(); |
| 666 |
if (error != NULL) { |
| 667 |
fprintf(stderr, "%s\n", error); |
| 668 |
} |
| 669 |
} |
| 670 |
|
| 671 |
*(void **) (&xkb_keymap_key_get_syms_by_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_get_syms_by_level"); |
| 672 |
if (verbose) { |
| 673 |
error = dlerror(); |
| 674 |
if (error != NULL) { |
| 675 |
fprintf(stderr, "%s\n", error); |
| 676 |
} |
| 677 |
} |
| 678 |
|
| 679 |
*(void **) (&xkb_keymap_key_repeats_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_keymap_key_repeats"); |
| 680 |
if (verbose) { |
| 681 |
error = dlerror(); |
| 682 |
if (error != NULL) { |
| 683 |
fprintf(stderr, "%s\n", error); |
| 684 |
} |
| 685 |
} |
| 686 |
|
| 687 |
*(void **) (&xkb_state_new_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_new"); |
| 688 |
if (verbose) { |
| 689 |
error = dlerror(); |
| 690 |
if (error != NULL) { |
| 691 |
fprintf(stderr, "%s\n", error); |
| 692 |
} |
| 693 |
} |
| 694 |
|
| 695 |
*(void **) (&xkb_state_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_ref"); |
| 696 |
if (verbose) { |
| 697 |
error = dlerror(); |
| 698 |
if (error != NULL) { |
| 699 |
fprintf(stderr, "%s\n", error); |
| 700 |
} |
| 701 |
} |
| 702 |
|
| 703 |
*(void **) (&xkb_state_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_unref"); |
| 704 |
if (verbose) { |
| 705 |
error = dlerror(); |
| 706 |
if (error != NULL) { |
| 707 |
fprintf(stderr, "%s\n", error); |
| 708 |
} |
| 709 |
} |
| 710 |
|
| 711 |
*(void **) (&xkb_state_get_keymap_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_get_keymap"); |
| 712 |
if (verbose) { |
| 713 |
error = dlerror(); |
| 714 |
if (error != NULL) { |
| 715 |
fprintf(stderr, "%s\n", error); |
| 716 |
} |
| 717 |
} |
| 718 |
|
| 719 |
*(void **) (&xkb_state_update_key_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_update_key"); |
| 720 |
if (verbose) { |
| 721 |
error = dlerror(); |
| 722 |
if (error != NULL) { |
| 723 |
fprintf(stderr, "%s\n", error); |
| 724 |
} |
| 725 |
} |
| 726 |
|
| 727 |
*(void **) (&xkb_state_update_mask_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_update_mask"); |
| 728 |
if (verbose) { |
| 729 |
error = dlerror(); |
| 730 |
if (error != NULL) { |
| 731 |
fprintf(stderr, "%s\n", error); |
| 732 |
} |
| 733 |
} |
| 734 |
|
| 735 |
*(void **) (&xkb_state_key_get_syms_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_syms"); |
| 736 |
if (verbose) { |
| 737 |
error = dlerror(); |
| 738 |
if (error != NULL) { |
| 739 |
fprintf(stderr, "%s\n", error); |
| 740 |
} |
| 741 |
} |
| 742 |
|
| 743 |
*(void **) (&xkb_state_key_get_utf8_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_utf8"); |
| 744 |
if (verbose) { |
| 745 |
error = dlerror(); |
| 746 |
if (error != NULL) { |
| 747 |
fprintf(stderr, "%s\n", error); |
| 748 |
} |
| 749 |
} |
| 750 |
|
| 751 |
*(void **) (&xkb_state_key_get_utf32_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_utf32"); |
| 752 |
if (verbose) { |
| 753 |
error = dlerror(); |
| 754 |
if (error != NULL) { |
| 755 |
fprintf(stderr, "%s\n", error); |
| 756 |
} |
| 757 |
} |
| 758 |
|
| 759 |
*(void **) (&xkb_state_key_get_one_sym_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_one_sym"); |
| 760 |
if (verbose) { |
| 761 |
error = dlerror(); |
| 762 |
if (error != NULL) { |
| 763 |
fprintf(stderr, "%s\n", error); |
| 764 |
} |
| 765 |
} |
| 766 |
|
| 767 |
*(void **) (&xkb_state_key_get_layout_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_layout"); |
| 768 |
if (verbose) { |
| 769 |
error = dlerror(); |
| 770 |
if (error != NULL) { |
| 771 |
fprintf(stderr, "%s\n", error); |
| 772 |
} |
| 773 |
} |
| 774 |
|
| 775 |
*(void **) (&xkb_state_key_get_level_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_level"); |
| 776 |
if (verbose) { |
| 777 |
error = dlerror(); |
| 778 |
if (error != NULL) { |
| 779 |
fprintf(stderr, "%s\n", error); |
| 780 |
} |
| 781 |
} |
| 782 |
|
| 783 |
*(void **) (&xkb_state_serialize_mods_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_serialize_mods"); |
| 784 |
if (verbose) { |
| 785 |
error = dlerror(); |
| 786 |
if (error != NULL) { |
| 787 |
fprintf(stderr, "%s\n", error); |
| 788 |
} |
| 789 |
} |
| 790 |
|
| 791 |
*(void **) (&xkb_state_serialize_layout_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_serialize_layout"); |
| 792 |
if (verbose) { |
| 793 |
error = dlerror(); |
| 794 |
if (error != NULL) { |
| 795 |
fprintf(stderr, "%s\n", error); |
| 796 |
} |
| 797 |
} |
| 798 |
|
| 799 |
*(void **) (&xkb_state_mod_name_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_name_is_active"); |
| 800 |
if (verbose) { |
| 801 |
error = dlerror(); |
| 802 |
if (error != NULL) { |
| 803 |
fprintf(stderr, "%s\n", error); |
| 804 |
} |
| 805 |
} |
| 806 |
|
| 807 |
*(void **) (&xkb_state_mod_names_are_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_names_are_active"); |
| 808 |
if (verbose) { |
| 809 |
error = dlerror(); |
| 810 |
if (error != NULL) { |
| 811 |
fprintf(stderr, "%s\n", error); |
| 812 |
} |
| 813 |
} |
| 814 |
|
| 815 |
*(void **) (&xkb_state_mod_index_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_index_is_active"); |
| 816 |
if (verbose) { |
| 817 |
error = dlerror(); |
| 818 |
if (error != NULL) { |
| 819 |
fprintf(stderr, "%s\n", error); |
| 820 |
} |
| 821 |
} |
| 822 |
|
| 823 |
*(void **) (&xkb_state_mod_indices_are_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_indices_are_active"); |
| 824 |
if (verbose) { |
| 825 |
error = dlerror(); |
| 826 |
if (error != NULL) { |
| 827 |
fprintf(stderr, "%s\n", error); |
| 828 |
} |
| 829 |
} |
| 830 |
|
| 831 |
*(void **) (&xkb_state_key_get_consumed_mods2_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_consumed_mods2"); |
| 832 |
if (verbose) { |
| 833 |
error = dlerror(); |
| 834 |
if (error != NULL) { |
| 835 |
fprintf(stderr, "%s\n", error); |
| 836 |
} |
| 837 |
} |
| 838 |
|
| 839 |
*(void **) (&xkb_state_key_get_consumed_mods_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_key_get_consumed_mods"); |
| 840 |
if (verbose) { |
| 841 |
error = dlerror(); |
| 842 |
if (error != NULL) { |
| 843 |
fprintf(stderr, "%s\n", error); |
| 844 |
} |
| 845 |
} |
| 846 |
|
| 847 |
*(void **) (&xkb_state_mod_index_is_consumed2_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_index_is_consumed2"); |
| 848 |
if (verbose) { |
| 849 |
error = dlerror(); |
| 850 |
if (error != NULL) { |
| 851 |
fprintf(stderr, "%s\n", error); |
| 852 |
} |
| 853 |
} |
| 854 |
|
| 855 |
*(void **) (&xkb_state_mod_index_is_consumed_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_index_is_consumed"); |
| 856 |
if (verbose) { |
| 857 |
error = dlerror(); |
| 858 |
if (error != NULL) { |
| 859 |
fprintf(stderr, "%s\n", error); |
| 860 |
} |
| 861 |
} |
| 862 |
|
| 863 |
*(void **) (&xkb_state_mod_mask_remove_consumed_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_mod_mask_remove_consumed"); |
| 864 |
if (verbose) { |
| 865 |
error = dlerror(); |
| 866 |
if (error != NULL) { |
| 867 |
fprintf(stderr, "%s\n", error); |
| 868 |
} |
| 869 |
} |
| 870 |
|
| 871 |
*(void **) (&xkb_state_layout_name_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_layout_name_is_active"); |
| 872 |
if (verbose) { |
| 873 |
error = dlerror(); |
| 874 |
if (error != NULL) { |
| 875 |
fprintf(stderr, "%s\n", error); |
| 876 |
} |
| 877 |
} |
| 878 |
|
| 879 |
*(void **) (&xkb_state_layout_index_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_layout_index_is_active"); |
| 880 |
if (verbose) { |
| 881 |
error = dlerror(); |
| 882 |
if (error != NULL) { |
| 883 |
fprintf(stderr, "%s\n", error); |
| 884 |
} |
| 885 |
} |
| 886 |
|
| 887 |
*(void **) (&xkb_state_led_name_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_led_name_is_active"); |
| 888 |
if (verbose) { |
| 889 |
error = dlerror(); |
| 890 |
if (error != NULL) { |
| 891 |
fprintf(stderr, "%s\n", error); |
| 892 |
} |
| 893 |
} |
| 894 |
|
| 895 |
*(void **) (&xkb_state_led_index_is_active_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_state_led_index_is_active"); |
| 896 |
if (verbose) { |
| 897 |
error = dlerror(); |
| 898 |
if (error != NULL) { |
| 899 |
fprintf(stderr, "%s\n", error); |
| 900 |
} |
| 901 |
} |
| 902 |
|
| 903 |
*(void **) (&xkb_compose_table_new_from_locale_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_new_from_locale"); |
| 904 |
if (verbose) { |
| 905 |
error = dlerror(); |
| 906 |
if (error != NULL) { |
| 907 |
fprintf(stderr, "%s\n", error); |
| 908 |
} |
| 909 |
} |
| 910 |
|
| 911 |
*(void **) (&xkb_compose_table_new_from_file_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_new_from_file"); |
| 912 |
if (verbose) { |
| 913 |
error = dlerror(); |
| 914 |
if (error != NULL) { |
| 915 |
fprintf(stderr, "%s\n", error); |
| 916 |
} |
| 917 |
} |
| 918 |
|
| 919 |
*(void **) (&xkb_compose_table_new_from_buffer_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_new_from_buffer"); |
| 920 |
if (verbose) { |
| 921 |
error = dlerror(); |
| 922 |
if (error != NULL) { |
| 923 |
fprintf(stderr, "%s\n", error); |
| 924 |
} |
| 925 |
} |
| 926 |
|
| 927 |
*(void **) (&xkb_compose_table_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_ref"); |
| 928 |
if (verbose) { |
| 929 |
error = dlerror(); |
| 930 |
if (error != NULL) { |
| 931 |
fprintf(stderr, "%s\n", error); |
| 932 |
} |
| 933 |
} |
| 934 |
|
| 935 |
*(void **) (&xkb_compose_table_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_table_unref"); |
| 936 |
if (verbose) { |
| 937 |
error = dlerror(); |
| 938 |
if (error != NULL) { |
| 939 |
fprintf(stderr, "%s\n", error); |
| 940 |
} |
| 941 |
} |
| 942 |
|
| 943 |
*(void **) (&xkb_compose_state_new_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_new"); |
| 944 |
if (verbose) { |
| 945 |
error = dlerror(); |
| 946 |
if (error != NULL) { |
| 947 |
fprintf(stderr, "%s\n", error); |
| 948 |
} |
| 949 |
} |
| 950 |
|
| 951 |
*(void **) (&xkb_compose_state_ref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_ref"); |
| 952 |
if (verbose) { |
| 953 |
error = dlerror(); |
| 954 |
if (error != NULL) { |
| 955 |
fprintf(stderr, "%s\n", error); |
| 956 |
} |
| 957 |
} |
| 958 |
|
| 959 |
*(void **) (&xkb_compose_state_unref_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_unref"); |
| 960 |
if (verbose) { |
| 961 |
error = dlerror(); |
| 962 |
if (error != NULL) { |
| 963 |
fprintf(stderr, "%s\n", error); |
| 964 |
} |
| 965 |
} |
| 966 |
|
| 967 |
*(void **) (&xkb_compose_state_get_compose_table_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_get_compose_table"); |
| 968 |
if (verbose) { |
| 969 |
error = dlerror(); |
| 970 |
if (error != NULL) { |
| 971 |
fprintf(stderr, "%s\n", error); |
| 972 |
} |
| 973 |
} |
| 974 |
|
| 975 |
*(void **) (&xkb_compose_state_feed_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_feed"); |
| 976 |
if (verbose) { |
| 977 |
error = dlerror(); |
| 978 |
if (error != NULL) { |
| 979 |
fprintf(stderr, "%s\n", error); |
| 980 |
} |
| 981 |
} |
| 982 |
|
| 983 |
*(void **) (&xkb_compose_state_reset_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_reset"); |
| 984 |
if (verbose) { |
| 985 |
error = dlerror(); |
| 986 |
if (error != NULL) { |
| 987 |
fprintf(stderr, "%s\n", error); |
| 988 |
} |
| 989 |
} |
| 990 |
|
| 991 |
*(void **) (&xkb_compose_state_get_status_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_get_status"); |
| 992 |
if (verbose) { |
| 993 |
error = dlerror(); |
| 994 |
if (error != NULL) { |
| 995 |
fprintf(stderr, "%s\n", error); |
| 996 |
} |
| 997 |
} |
| 998 |
|
| 999 |
*(void **) (&xkb_compose_state_get_utf8_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_get_utf8"); |
| 1000 |
if (verbose) { |
| 1001 |
error = dlerror(); |
| 1002 |
if (error != NULL) { |
| 1003 |
fprintf(stderr, "%s\n", error); |
| 1004 |
} |
| 1005 |
} |
| 1006 |
|
| 1007 |
*(void **) (&xkb_compose_state_get_one_sym_dylibloader_wrapper_xkbcommon) = dlsym(handle, "xkb_compose_state_get_one_sym"); |
| 1008 |
if (verbose) { |
| 1009 |
error = dlerror(); |
| 1010 |
if (error != NULL) { |
| 1011 |
fprintf(stderr, "%s\n", error); |
| 1012 |
} |
| 1013 |
} |
| 1014 |
return 0; |
| 1015 |
} |