Update libcef_dll_dylib.cc for compiler deduce types
This commit is contained in:
parent
55cb9d9c1f
commit
c49ffa9723
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9c3fcd2a053f20a9a09b9938996f5df9eb2053ef$
|
||||
// $hash=8faeb658bc18088c0fb3160fb354574592a17f37$
|
||||
//
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
@ -87,643 +87,234 @@ void* libcef_get_ptr(const char* path, const char* name) {
|
|||
return ptr;
|
||||
}
|
||||
|
||||
typedef int (*cef_execute_process_ptr)(const struct _cef_main_args_t*,
|
||||
struct _cef_app_t*,
|
||||
void*);
|
||||
typedef int (*cef_initialize_ptr)(const struct _cef_main_args_t*,
|
||||
const struct _cef_settings_t*,
|
||||
struct _cef_app_t*,
|
||||
void*);
|
||||
typedef void (*cef_shutdown_ptr)();
|
||||
typedef void (*cef_do_message_loop_work_ptr)();
|
||||
typedef void (*cef_run_message_loop_ptr)();
|
||||
typedef void (*cef_quit_message_loop_ptr)();
|
||||
typedef void (*cef_set_osmodal_loop_ptr)(int);
|
||||
typedef void (*cef_enable_highdpi_support_ptr)();
|
||||
typedef int (*cef_crash_reporting_enabled_ptr)();
|
||||
typedef void (*cef_set_crash_key_value_ptr)(const cef_string_t*,
|
||||
const cef_string_t*);
|
||||
typedef int (*cef_create_directory_ptr)(const cef_string_t*);
|
||||
typedef int (*cef_get_temp_directory_ptr)(cef_string_t*);
|
||||
typedef int (*cef_create_new_temp_directory_ptr)(const cef_string_t*,
|
||||
cef_string_t*);
|
||||
typedef int (*cef_create_temp_directory_in_directory_ptr)(const cef_string_t*,
|
||||
const cef_string_t*,
|
||||
cef_string_t*);
|
||||
typedef int (*cef_directory_exists_ptr)(const cef_string_t*);
|
||||
typedef int (*cef_delete_file_ptr)(const cef_string_t*, int);
|
||||
typedef int (*cef_zip_directory_ptr)(const cef_string_t*,
|
||||
const cef_string_t*,
|
||||
int);
|
||||
typedef void (*cef_load_crlsets_file_ptr)(const cef_string_t*);
|
||||
typedef int (*cef_is_rtl_ptr)();
|
||||
typedef int (*cef_add_cross_origin_whitelist_entry_ptr)(const cef_string_t*,
|
||||
const cef_string_t*,
|
||||
const cef_string_t*,
|
||||
int);
|
||||
typedef int (*cef_remove_cross_origin_whitelist_entry_ptr)(const cef_string_t*,
|
||||
const cef_string_t*,
|
||||
const cef_string_t*,
|
||||
int);
|
||||
typedef int (*cef_clear_cross_origin_whitelist_ptr)();
|
||||
typedef int (*cef_parse_url_ptr)(const cef_string_t*, struct _cef_urlparts_t*);
|
||||
typedef int (*cef_create_url_ptr)(const struct _cef_urlparts_t*, cef_string_t*);
|
||||
typedef cef_string_userfree_t (*cef_format_url_for_security_display_ptr)(
|
||||
const cef_string_t*);
|
||||
typedef cef_string_userfree_t (*cef_get_mime_type_ptr)(const cef_string_t*);
|
||||
typedef void (*cef_get_extensions_for_mime_type_ptr)(const cef_string_t*,
|
||||
cef_string_list_t);
|
||||
typedef cef_string_userfree_t (*cef_base64encode_ptr)(const void*, size_t);
|
||||
typedef struct _cef_binary_value_t* (*cef_base64decode_ptr)(
|
||||
const cef_string_t*);
|
||||
typedef cef_string_userfree_t (*cef_uriencode_ptr)(const cef_string_t*, int);
|
||||
typedef cef_string_userfree_t (*cef_uridecode_ptr)(const cef_string_t*,
|
||||
int,
|
||||
cef_uri_unescape_rule_t);
|
||||
typedef struct _cef_value_t* (*cef_parse_json_ptr)(const cef_string_t*,
|
||||
cef_json_parser_options_t);
|
||||
typedef struct _cef_value_t* (
|
||||
*cef_parse_json_buffer_ptr)(const void*, size_t, cef_json_parser_options_t);
|
||||
typedef struct _cef_value_t* (*cef_parse_jsonand_return_error_ptr)(
|
||||
const cef_string_t*,
|
||||
cef_json_parser_options_t,
|
||||
cef_string_t*);
|
||||
typedef cef_string_userfree_t (*cef_write_json_ptr)(struct _cef_value_t*,
|
||||
cef_json_writer_options_t);
|
||||
typedef int (*cef_get_path_ptr)(cef_path_key_t, cef_string_t*);
|
||||
typedef int (*cef_launch_process_ptr)(struct _cef_command_line_t*);
|
||||
typedef int (*cef_register_scheme_handler_factory_ptr)(
|
||||
const cef_string_t*,
|
||||
const cef_string_t*,
|
||||
struct _cef_scheme_handler_factory_t*);
|
||||
typedef int (*cef_clear_scheme_handler_factories_ptr)();
|
||||
typedef int (*cef_is_cert_status_error_ptr)(cef_cert_status_t);
|
||||
typedef int (*cef_currently_on_ptr)(cef_thread_id_t);
|
||||
typedef int (*cef_post_task_ptr)(cef_thread_id_t, struct _cef_task_t*);
|
||||
typedef int (*cef_post_delayed_task_ptr)(cef_thread_id_t,
|
||||
struct _cef_task_t*,
|
||||
int64);
|
||||
typedef int (*cef_begin_tracing_ptr)(const cef_string_t*,
|
||||
struct _cef_completion_callback_t*);
|
||||
typedef int (*cef_end_tracing_ptr)(const cef_string_t*,
|
||||
struct _cef_end_tracing_callback_t*);
|
||||
typedef int64 (*cef_now_from_system_trace_time_ptr)();
|
||||
typedef int (*cef_register_extension_ptr)(const cef_string_t*,
|
||||
const cef_string_t*,
|
||||
struct _cef_v8handler_t*);
|
||||
typedef void (*cef_execute_java_script_with_user_gesture_for_tests_ptr)(
|
||||
struct _cef_frame_t*,
|
||||
const cef_string_t*);
|
||||
typedef int (*cef_browser_host_create_browser_ptr)(
|
||||
const struct _cef_window_info_t*,
|
||||
struct _cef_client_t*,
|
||||
const cef_string_t*,
|
||||
const struct _cef_browser_settings_t*,
|
||||
struct _cef_dictionary_value_t*,
|
||||
struct _cef_request_context_t*);
|
||||
typedef struct _cef_browser_t* (*cef_browser_host_create_browser_sync_ptr)(
|
||||
const struct _cef_window_info_t*,
|
||||
struct _cef_client_t*,
|
||||
const cef_string_t*,
|
||||
const struct _cef_browser_settings_t*,
|
||||
struct _cef_dictionary_value_t*,
|
||||
struct _cef_request_context_t*);
|
||||
typedef struct _cef_command_line_t* (*cef_command_line_create_ptr)();
|
||||
typedef struct _cef_command_line_t* (*cef_command_line_get_global_ptr)();
|
||||
typedef struct _cef_cookie_manager_t* (
|
||||
*cef_cookie_manager_get_global_manager_ptr)(
|
||||
struct _cef_completion_callback_t*);
|
||||
typedef struct _cef_drag_data_t* (*cef_drag_data_create_ptr)();
|
||||
typedef struct _cef_image_t* (*cef_image_create_ptr)();
|
||||
typedef struct _cef_media_router_t* (*cef_media_router_get_global_ptr)(
|
||||
struct _cef_completion_callback_t*);
|
||||
typedef struct _cef_menu_model_t* (*cef_menu_model_create_ptr)(
|
||||
struct _cef_menu_model_delegate_t*);
|
||||
typedef struct _cef_print_settings_t* (*cef_print_settings_create_ptr)();
|
||||
typedef struct _cef_process_message_t* (*cef_process_message_create_ptr)(
|
||||
const cef_string_t*);
|
||||
typedef struct _cef_request_t* (*cef_request_create_ptr)();
|
||||
typedef struct _cef_post_data_t* (*cef_post_data_create_ptr)();
|
||||
typedef struct _cef_post_data_element_t* (*cef_post_data_element_create_ptr)();
|
||||
typedef struct _cef_request_context_t* (
|
||||
*cef_request_context_get_global_context_ptr)();
|
||||
typedef struct _cef_request_context_t* (
|
||||
*cef_request_context_create_context_ptr)(
|
||||
const struct _cef_request_context_settings_t*,
|
||||
struct _cef_request_context_handler_t*);
|
||||
typedef struct _cef_request_context_t* (*cef_create_context_shared_ptr)(
|
||||
struct _cef_request_context_t*,
|
||||
struct _cef_request_context_handler_t*);
|
||||
typedef struct _cef_resource_bundle_t* (*cef_resource_bundle_get_global_ptr)();
|
||||
typedef struct _cef_response_t* (*cef_response_create_ptr)();
|
||||
typedef void (*cef_server_create_ptr)(const cef_string_t*,
|
||||
uint16,
|
||||
int,
|
||||
struct _cef_server_handler_t*);
|
||||
typedef struct _cef_shared_process_message_builder_t* (
|
||||
*cef_shared_process_message_builder_create_ptr)(const cef_string_t*,
|
||||
size_t);
|
||||
typedef struct _cef_stream_reader_t* (*cef_stream_reader_create_for_file_ptr)(
|
||||
const cef_string_t*);
|
||||
typedef struct _cef_stream_reader_t* (
|
||||
*cef_stream_reader_create_for_data_ptr)(void*, size_t);
|
||||
typedef struct _cef_stream_reader_t* (
|
||||
*cef_stream_reader_create_for_handler_ptr)(struct _cef_read_handler_t*);
|
||||
typedef struct _cef_stream_writer_t* (*cef_stream_writer_create_for_file_ptr)(
|
||||
const cef_string_t*);
|
||||
typedef struct _cef_stream_writer_t* (
|
||||
*cef_stream_writer_create_for_handler_ptr)(struct _cef_write_handler_t*);
|
||||
typedef struct _cef_task_runner_t* (
|
||||
*cef_task_runner_get_for_current_thread_ptr)();
|
||||
typedef struct _cef_task_runner_t* (*cef_task_runner_get_for_thread_ptr)(
|
||||
cef_thread_id_t);
|
||||
typedef struct _cef_thread_t* (*cef_thread_create_ptr)(const cef_string_t*,
|
||||
cef_thread_priority_t,
|
||||
cef_message_loop_type_t,
|
||||
int,
|
||||
cef_com_init_mode_t);
|
||||
typedef struct _cef_urlrequest_t* (*cef_urlrequest_create_ptr)(
|
||||
struct _cef_request_t*,
|
||||
struct _cef_urlrequest_client_t*,
|
||||
struct _cef_request_context_t*);
|
||||
typedef struct _cef_v8context_t* (*cef_v8context_get_current_context_ptr)();
|
||||
typedef struct _cef_v8context_t* (*cef_v8context_get_entered_context_ptr)();
|
||||
typedef int (*cef_v8context_in_context_ptr)();
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_undefined_ptr)();
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_null_ptr)();
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_bool_ptr)(int);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_int_ptr)(int32);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_uint_ptr)(uint32);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_double_ptr)(double);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_date_ptr)(
|
||||
const cef_time_t*);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_string_ptr)(
|
||||
const cef_string_t*);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_object_ptr)(
|
||||
struct _cef_v8accessor_t*,
|
||||
struct _cef_v8interceptor_t*);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_array_ptr)(int);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_array_buffer_ptr)(
|
||||
void*,
|
||||
size_t,
|
||||
struct _cef_v8array_buffer_release_callback_t*);
|
||||
typedef struct _cef_v8value_t* (*cef_v8value_create_function_ptr)(
|
||||
const cef_string_t*,
|
||||
struct _cef_v8handler_t*);
|
||||
typedef struct _cef_v8stack_trace_t* (*cef_v8stack_trace_get_current_ptr)(int);
|
||||
typedef struct _cef_value_t* (*cef_value_create_ptr)();
|
||||
typedef struct _cef_binary_value_t* (*cef_binary_value_create_ptr)(const void*,
|
||||
size_t);
|
||||
typedef struct _cef_dictionary_value_t* (*cef_dictionary_value_create_ptr)();
|
||||
typedef struct _cef_list_value_t* (*cef_list_value_create_ptr)();
|
||||
typedef struct _cef_waitable_event_t* (*cef_waitable_event_create_ptr)(int,
|
||||
int);
|
||||
typedef struct _cef_xml_reader_t* (*cef_xml_reader_create_ptr)(
|
||||
struct _cef_stream_reader_t*,
|
||||
cef_xml_encoding_type_t,
|
||||
const cef_string_t*);
|
||||
typedef struct _cef_zip_reader_t* (*cef_zip_reader_create_ptr)(
|
||||
struct _cef_stream_reader_t*);
|
||||
typedef struct _cef_translator_test_t* (*cef_translator_test_create_ptr)();
|
||||
typedef struct _cef_translator_test_ref_ptr_library_t* (
|
||||
*cef_translator_test_ref_ptr_library_create_ptr)(int);
|
||||
typedef struct _cef_translator_test_ref_ptr_library_child_t* (
|
||||
*cef_translator_test_ref_ptr_library_child_create_ptr)(int, int);
|
||||
typedef struct _cef_translator_test_ref_ptr_library_child_child_t* (
|
||||
*cef_translator_test_ref_ptr_library_child_child_create_ptr)(int, int, int);
|
||||
typedef struct _cef_translator_test_scoped_library_t* (
|
||||
*cef_translator_test_scoped_library_create_ptr)(int);
|
||||
typedef struct _cef_translator_test_scoped_library_child_t* (
|
||||
*cef_translator_test_scoped_library_child_create_ptr)(int, int);
|
||||
typedef struct _cef_translator_test_scoped_library_child_child_t* (
|
||||
*cef_translator_test_scoped_library_child_child_create_ptr)(int, int, int);
|
||||
typedef struct _cef_browser_view_t* (*cef_browser_view_create_ptr)(
|
||||
struct _cef_client_t*,
|
||||
const cef_string_t*,
|
||||
const struct _cef_browser_settings_t*,
|
||||
struct _cef_dictionary_value_t*,
|
||||
struct _cef_request_context_t*,
|
||||
struct _cef_browser_view_delegate_t*);
|
||||
typedef struct _cef_browser_view_t* (*cef_browser_view_get_for_browser_ptr)(
|
||||
struct _cef_browser_t*);
|
||||
typedef struct _cef_display_t* (*cef_display_get_primary_ptr)();
|
||||
typedef struct _cef_display_t* (
|
||||
*cef_display_get_nearest_point_ptr)(const cef_point_t*, int);
|
||||
typedef struct _cef_display_t* (
|
||||
*cef_display_get_matching_bounds_ptr)(const cef_rect_t*, int);
|
||||
typedef size_t (*cef_display_get_count_ptr)();
|
||||
typedef void (*cef_display_get_alls_ptr)(size_t*, struct _cef_display_t**);
|
||||
typedef struct _cef_label_button_t* (*cef_label_button_create_ptr)(
|
||||
struct _cef_button_delegate_t*,
|
||||
const cef_string_t*);
|
||||
typedef struct _cef_menu_button_t* (*cef_menu_button_create_ptr)(
|
||||
struct _cef_menu_button_delegate_t*,
|
||||
const cef_string_t*);
|
||||
typedef struct _cef_panel_t* (*cef_panel_create_ptr)(
|
||||
struct _cef_panel_delegate_t*);
|
||||
typedef struct _cef_scroll_view_t* (*cef_scroll_view_create_ptr)(
|
||||
struct _cef_view_delegate_t*);
|
||||
typedef struct _cef_textfield_t* (*cef_textfield_create_ptr)(
|
||||
struct _cef_textfield_delegate_t*);
|
||||
typedef struct _cef_window_t* (*cef_window_create_top_level_ptr)(
|
||||
struct _cef_window_delegate_t*);
|
||||
typedef const char* (*cef_api_hash_ptr)(int);
|
||||
typedef int (*cef_version_info_ptr)(int);
|
||||
typedef int (*cef_get_min_log_level_ptr)();
|
||||
typedef int (*cef_get_vlog_level_ptr)(const char*, size_t);
|
||||
typedef void (*cef_log_ptr)(const char*, int, int, const char*);
|
||||
typedef cef_string_list_t (*cef_string_list_alloc_ptr)();
|
||||
typedef size_t (*cef_string_list_size_ptr)(cef_string_list_t);
|
||||
typedef int (*cef_string_list_value_ptr)(cef_string_list_t,
|
||||
size_t,
|
||||
cef_string_t*);
|
||||
typedef void (*cef_string_list_append_ptr)(cef_string_list_t,
|
||||
const cef_string_t*);
|
||||
typedef void (*cef_string_list_clear_ptr)(cef_string_list_t);
|
||||
typedef void (*cef_string_list_free_ptr)(cef_string_list_t);
|
||||
typedef cef_string_list_t (*cef_string_list_copy_ptr)(cef_string_list_t);
|
||||
typedef cef_string_map_t (*cef_string_map_alloc_ptr)();
|
||||
typedef size_t (*cef_string_map_size_ptr)(cef_string_map_t);
|
||||
typedef int (*cef_string_map_find_ptr)(cef_string_map_t,
|
||||
const cef_string_t*,
|
||||
cef_string_t*);
|
||||
typedef int (*cef_string_map_key_ptr)(cef_string_map_t, size_t, cef_string_t*);
|
||||
typedef int (*cef_string_map_value_ptr)(cef_string_map_t,
|
||||
size_t,
|
||||
cef_string_t*);
|
||||
typedef int (*cef_string_map_append_ptr)(cef_string_map_t,
|
||||
const cef_string_t*,
|
||||
const cef_string_t*);
|
||||
typedef void (*cef_string_map_clear_ptr)(cef_string_map_t);
|
||||
typedef void (*cef_string_map_free_ptr)(cef_string_map_t);
|
||||
typedef cef_string_multimap_t (*cef_string_multimap_alloc_ptr)();
|
||||
typedef size_t (*cef_string_multimap_size_ptr)(cef_string_multimap_t);
|
||||
typedef size_t (*cef_string_multimap_find_count_ptr)(cef_string_multimap_t,
|
||||
const cef_string_t*);
|
||||
typedef int (*cef_string_multimap_enumerate_ptr)(cef_string_multimap_t,
|
||||
const cef_string_t*,
|
||||
size_t,
|
||||
cef_string_t*);
|
||||
typedef int (*cef_string_multimap_key_ptr)(cef_string_multimap_t,
|
||||
size_t,
|
||||
cef_string_t*);
|
||||
typedef int (*cef_string_multimap_value_ptr)(cef_string_multimap_t,
|
||||
size_t,
|
||||
cef_string_t*);
|
||||
typedef int (*cef_string_multimap_append_ptr)(cef_string_multimap_t,
|
||||
const cef_string_t*,
|
||||
const cef_string_t*);
|
||||
typedef void (*cef_string_multimap_clear_ptr)(cef_string_multimap_t);
|
||||
typedef void (*cef_string_multimap_free_ptr)(cef_string_multimap_t);
|
||||
typedef int (*cef_string_wide_set_ptr)(const wchar_t*,
|
||||
size_t,
|
||||
cef_string_wide_t*,
|
||||
int);
|
||||
typedef int (*cef_string_utf8_set_ptr)(const char*,
|
||||
size_t,
|
||||
cef_string_utf8_t*,
|
||||
int);
|
||||
typedef int (*cef_string_utf16_set_ptr)(const char16*,
|
||||
size_t,
|
||||
cef_string_utf16_t*,
|
||||
int);
|
||||
typedef void (*cef_string_wide_clear_ptr)(cef_string_wide_t*);
|
||||
typedef void (*cef_string_utf8_clear_ptr)(cef_string_utf8_t*);
|
||||
typedef void (*cef_string_utf16_clear_ptr)(cef_string_utf16_t*);
|
||||
typedef int (*cef_string_wide_cmp_ptr)(const cef_string_wide_t*,
|
||||
const cef_string_wide_t*);
|
||||
typedef int (*cef_string_utf8_cmp_ptr)(const cef_string_utf8_t*,
|
||||
const cef_string_utf8_t*);
|
||||
typedef int (*cef_string_utf16_cmp_ptr)(const cef_string_utf16_t*,
|
||||
const cef_string_utf16_t*);
|
||||
typedef int (*cef_string_wide_to_utf8_ptr)(const wchar_t*,
|
||||
size_t,
|
||||
cef_string_utf8_t*);
|
||||
typedef int (*cef_string_utf8_to_wide_ptr)(const char*,
|
||||
size_t,
|
||||
cef_string_wide_t*);
|
||||
typedef int (*cef_string_wide_to_utf16_ptr)(const wchar_t*,
|
||||
size_t,
|
||||
cef_string_utf16_t*);
|
||||
typedef int (*cef_string_utf16_to_wide_ptr)(const char16*,
|
||||
size_t,
|
||||
cef_string_wide_t*);
|
||||
typedef int (*cef_string_utf8_to_utf16_ptr)(const char*,
|
||||
size_t,
|
||||
cef_string_utf16_t*);
|
||||
typedef int (*cef_string_utf16_to_utf8_ptr)(const char16*,
|
||||
size_t,
|
||||
cef_string_utf8_t*);
|
||||
typedef int (*cef_string_ascii_to_wide_ptr)(const char*,
|
||||
size_t,
|
||||
cef_string_wide_t*);
|
||||
typedef int (*cef_string_ascii_to_utf16_ptr)(const char*,
|
||||
size_t,
|
||||
cef_string_utf16_t*);
|
||||
typedef cef_string_userfree_wide_t (*cef_string_userfree_wide_alloc_ptr)();
|
||||
typedef cef_string_userfree_utf8_t (*cef_string_userfree_utf8_alloc_ptr)();
|
||||
typedef cef_string_userfree_utf16_t (*cef_string_userfree_utf16_alloc_ptr)();
|
||||
typedef void (*cef_string_userfree_wide_free_ptr)(cef_string_userfree_wide_t);
|
||||
typedef void (*cef_string_userfree_utf8_free_ptr)(cef_string_userfree_utf8_t);
|
||||
typedef void (*cef_string_userfree_utf16_free_ptr)(cef_string_userfree_utf16_t);
|
||||
typedef int (*cef_string_utf16_to_lower_ptr)(const char16*,
|
||||
size_t,
|
||||
cef_string_utf16_t*);
|
||||
typedef int (*cef_string_utf16_to_upper_ptr)(const char16*,
|
||||
size_t,
|
||||
cef_string_utf16_t*);
|
||||
typedef cef_platform_thread_id_t (*cef_get_current_platform_thread_id_ptr)();
|
||||
typedef cef_platform_thread_handle_t (
|
||||
*cef_get_current_platform_thread_handle_ptr)();
|
||||
typedef int (*cef_time_to_timet_ptr)(const cef_time_t*, time_t*);
|
||||
typedef int (*cef_time_from_timet_ptr)(time_t, cef_time_t*);
|
||||
typedef int (*cef_time_to_doublet_ptr)(const cef_time_t*, double*);
|
||||
typedef int (*cef_time_from_doublet_ptr)(double, cef_time_t*);
|
||||
typedef int (*cef_time_now_ptr)(cef_time_t*);
|
||||
typedef int (*cef_time_delta_ptr)(const cef_time_t*,
|
||||
const cef_time_t*,
|
||||
long long*);
|
||||
typedef void (*cef_trace_event_instant_ptr)(const char*,
|
||||
const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
typedef void (*cef_trace_event_begin_ptr)(const char*,
|
||||
const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
typedef void (*cef_trace_event_end_ptr)(const char*,
|
||||
const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
typedef void (*cef_trace_counter_ptr)(const char*,
|
||||
const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
typedef void (*cef_trace_counter_id_ptr)(const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
typedef void (*cef_trace_event_async_begin_ptr)(const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
typedef void (*cef_trace_event_async_step_into_ptr)(const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
typedef void (*cef_trace_event_async_step_past_ptr)(const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
typedef void (*cef_trace_event_async_end_ptr)(const char*,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
const char*,
|
||||
uint64,
|
||||
int);
|
||||
|
||||
struct libcef_pointers {
|
||||
cef_execute_process_ptr cef_execute_process;
|
||||
cef_initialize_ptr cef_initialize;
|
||||
cef_shutdown_ptr cef_shutdown;
|
||||
cef_do_message_loop_work_ptr cef_do_message_loop_work;
|
||||
cef_run_message_loop_ptr cef_run_message_loop;
|
||||
cef_quit_message_loop_ptr cef_quit_message_loop;
|
||||
cef_set_osmodal_loop_ptr cef_set_osmodal_loop;
|
||||
cef_enable_highdpi_support_ptr cef_enable_highdpi_support;
|
||||
cef_crash_reporting_enabled_ptr cef_crash_reporting_enabled;
|
||||
cef_set_crash_key_value_ptr cef_set_crash_key_value;
|
||||
cef_create_directory_ptr cef_create_directory;
|
||||
cef_get_temp_directory_ptr cef_get_temp_directory;
|
||||
cef_create_new_temp_directory_ptr cef_create_new_temp_directory;
|
||||
cef_create_temp_directory_in_directory_ptr
|
||||
decltype(&cef_execute_process) cef_execute_process;
|
||||
decltype(&cef_initialize) cef_initialize;
|
||||
decltype(&cef_shutdown) cef_shutdown;
|
||||
decltype(&cef_do_message_loop_work) cef_do_message_loop_work;
|
||||
decltype(&cef_run_message_loop) cef_run_message_loop;
|
||||
decltype(&cef_quit_message_loop) cef_quit_message_loop;
|
||||
decltype(&cef_set_osmodal_loop) cef_set_osmodal_loop;
|
||||
decltype(&cef_enable_highdpi_support) cef_enable_highdpi_support;
|
||||
decltype(&cef_crash_reporting_enabled) cef_crash_reporting_enabled;
|
||||
decltype(&cef_set_crash_key_value) cef_set_crash_key_value;
|
||||
decltype(&cef_create_directory) cef_create_directory;
|
||||
decltype(&cef_get_temp_directory) cef_get_temp_directory;
|
||||
decltype(&cef_create_new_temp_directory) cef_create_new_temp_directory;
|
||||
decltype(&cef_create_temp_directory_in_directory)
|
||||
cef_create_temp_directory_in_directory;
|
||||
cef_directory_exists_ptr cef_directory_exists;
|
||||
cef_delete_file_ptr cef_delete_file;
|
||||
cef_zip_directory_ptr cef_zip_directory;
|
||||
cef_load_crlsets_file_ptr cef_load_crlsets_file;
|
||||
cef_is_rtl_ptr cef_is_rtl;
|
||||
cef_add_cross_origin_whitelist_entry_ptr cef_add_cross_origin_whitelist_entry;
|
||||
cef_remove_cross_origin_whitelist_entry_ptr
|
||||
decltype(&cef_directory_exists) cef_directory_exists;
|
||||
decltype(&cef_delete_file) cef_delete_file;
|
||||
decltype(&cef_zip_directory) cef_zip_directory;
|
||||
decltype(&cef_load_crlsets_file) cef_load_crlsets_file;
|
||||
decltype(&cef_is_rtl) cef_is_rtl;
|
||||
decltype(&cef_add_cross_origin_whitelist_entry)
|
||||
cef_add_cross_origin_whitelist_entry;
|
||||
decltype(&cef_remove_cross_origin_whitelist_entry)
|
||||
cef_remove_cross_origin_whitelist_entry;
|
||||
cef_clear_cross_origin_whitelist_ptr cef_clear_cross_origin_whitelist;
|
||||
cef_parse_url_ptr cef_parse_url;
|
||||
cef_create_url_ptr cef_create_url;
|
||||
cef_format_url_for_security_display_ptr cef_format_url_for_security_display;
|
||||
cef_get_mime_type_ptr cef_get_mime_type;
|
||||
cef_get_extensions_for_mime_type_ptr cef_get_extensions_for_mime_type;
|
||||
cef_base64encode_ptr cef_base64encode;
|
||||
cef_base64decode_ptr cef_base64decode;
|
||||
cef_uriencode_ptr cef_uriencode;
|
||||
cef_uridecode_ptr cef_uridecode;
|
||||
cef_parse_json_ptr cef_parse_json;
|
||||
cef_parse_json_buffer_ptr cef_parse_json_buffer;
|
||||
cef_parse_jsonand_return_error_ptr cef_parse_jsonand_return_error;
|
||||
cef_write_json_ptr cef_write_json;
|
||||
cef_get_path_ptr cef_get_path;
|
||||
cef_launch_process_ptr cef_launch_process;
|
||||
cef_register_scheme_handler_factory_ptr cef_register_scheme_handler_factory;
|
||||
cef_clear_scheme_handler_factories_ptr cef_clear_scheme_handler_factories;
|
||||
cef_is_cert_status_error_ptr cef_is_cert_status_error;
|
||||
cef_currently_on_ptr cef_currently_on;
|
||||
cef_post_task_ptr cef_post_task;
|
||||
cef_post_delayed_task_ptr cef_post_delayed_task;
|
||||
cef_begin_tracing_ptr cef_begin_tracing;
|
||||
cef_end_tracing_ptr cef_end_tracing;
|
||||
cef_now_from_system_trace_time_ptr cef_now_from_system_trace_time;
|
||||
cef_register_extension_ptr cef_register_extension;
|
||||
cef_execute_java_script_with_user_gesture_for_tests_ptr
|
||||
decltype(&cef_clear_cross_origin_whitelist) cef_clear_cross_origin_whitelist;
|
||||
decltype(&cef_parse_url) cef_parse_url;
|
||||
decltype(&cef_create_url) cef_create_url;
|
||||
decltype(&cef_format_url_for_security_display)
|
||||
cef_format_url_for_security_display;
|
||||
decltype(&cef_get_mime_type) cef_get_mime_type;
|
||||
decltype(&cef_get_extensions_for_mime_type) cef_get_extensions_for_mime_type;
|
||||
decltype(&cef_base64encode) cef_base64encode;
|
||||
decltype(&cef_base64decode) cef_base64decode;
|
||||
decltype(&cef_uriencode) cef_uriencode;
|
||||
decltype(&cef_uridecode) cef_uridecode;
|
||||
decltype(&cef_parse_json) cef_parse_json;
|
||||
decltype(&cef_parse_json_buffer) cef_parse_json_buffer;
|
||||
decltype(&cef_parse_jsonand_return_error) cef_parse_jsonand_return_error;
|
||||
decltype(&cef_write_json) cef_write_json;
|
||||
decltype(&cef_get_path) cef_get_path;
|
||||
decltype(&cef_launch_process) cef_launch_process;
|
||||
decltype(&cef_register_scheme_handler_factory)
|
||||
cef_register_scheme_handler_factory;
|
||||
decltype(&cef_clear_scheme_handler_factories)
|
||||
cef_clear_scheme_handler_factories;
|
||||
decltype(&cef_is_cert_status_error) cef_is_cert_status_error;
|
||||
decltype(&cef_currently_on) cef_currently_on;
|
||||
decltype(&cef_post_task) cef_post_task;
|
||||
decltype(&cef_post_delayed_task) cef_post_delayed_task;
|
||||
decltype(&cef_begin_tracing) cef_begin_tracing;
|
||||
decltype(&cef_end_tracing) cef_end_tracing;
|
||||
decltype(&cef_now_from_system_trace_time) cef_now_from_system_trace_time;
|
||||
decltype(&cef_register_extension) cef_register_extension;
|
||||
decltype(&cef_execute_java_script_with_user_gesture_for_tests)
|
||||
cef_execute_java_script_with_user_gesture_for_tests;
|
||||
cef_browser_host_create_browser_ptr cef_browser_host_create_browser;
|
||||
cef_browser_host_create_browser_sync_ptr cef_browser_host_create_browser_sync;
|
||||
cef_command_line_create_ptr cef_command_line_create;
|
||||
cef_command_line_get_global_ptr cef_command_line_get_global;
|
||||
cef_cookie_manager_get_global_manager_ptr
|
||||
decltype(&cef_browser_host_create_browser) cef_browser_host_create_browser;
|
||||
decltype(&cef_browser_host_create_browser_sync)
|
||||
cef_browser_host_create_browser_sync;
|
||||
decltype(&cef_command_line_create) cef_command_line_create;
|
||||
decltype(&cef_command_line_get_global) cef_command_line_get_global;
|
||||
decltype(&cef_cookie_manager_get_global_manager)
|
||||
cef_cookie_manager_get_global_manager;
|
||||
cef_drag_data_create_ptr cef_drag_data_create;
|
||||
cef_image_create_ptr cef_image_create;
|
||||
cef_media_router_get_global_ptr cef_media_router_get_global;
|
||||
cef_menu_model_create_ptr cef_menu_model_create;
|
||||
cef_print_settings_create_ptr cef_print_settings_create;
|
||||
cef_process_message_create_ptr cef_process_message_create;
|
||||
cef_request_create_ptr cef_request_create;
|
||||
cef_post_data_create_ptr cef_post_data_create;
|
||||
cef_post_data_element_create_ptr cef_post_data_element_create;
|
||||
cef_request_context_get_global_context_ptr
|
||||
decltype(&cef_drag_data_create) cef_drag_data_create;
|
||||
decltype(&cef_image_create) cef_image_create;
|
||||
decltype(&cef_media_router_get_global) cef_media_router_get_global;
|
||||
decltype(&cef_menu_model_create) cef_menu_model_create;
|
||||
decltype(&cef_print_settings_create) cef_print_settings_create;
|
||||
decltype(&cef_process_message_create) cef_process_message_create;
|
||||
decltype(&cef_request_create) cef_request_create;
|
||||
decltype(&cef_post_data_create) cef_post_data_create;
|
||||
decltype(&cef_post_data_element_create) cef_post_data_element_create;
|
||||
decltype(&cef_request_context_get_global_context)
|
||||
cef_request_context_get_global_context;
|
||||
cef_request_context_create_context_ptr cef_request_context_create_context;
|
||||
cef_create_context_shared_ptr cef_create_context_shared;
|
||||
cef_resource_bundle_get_global_ptr cef_resource_bundle_get_global;
|
||||
cef_response_create_ptr cef_response_create;
|
||||
cef_server_create_ptr cef_server_create;
|
||||
cef_shared_process_message_builder_create_ptr
|
||||
decltype(&cef_request_context_create_context)
|
||||
cef_request_context_create_context;
|
||||
decltype(&cef_create_context_shared) cef_create_context_shared;
|
||||
decltype(&cef_resource_bundle_get_global) cef_resource_bundle_get_global;
|
||||
decltype(&cef_response_create) cef_response_create;
|
||||
decltype(&cef_server_create) cef_server_create;
|
||||
decltype(&cef_shared_process_message_builder_create)
|
||||
cef_shared_process_message_builder_create;
|
||||
cef_stream_reader_create_for_file_ptr cef_stream_reader_create_for_file;
|
||||
cef_stream_reader_create_for_data_ptr cef_stream_reader_create_for_data;
|
||||
cef_stream_reader_create_for_handler_ptr cef_stream_reader_create_for_handler;
|
||||
cef_stream_writer_create_for_file_ptr cef_stream_writer_create_for_file;
|
||||
cef_stream_writer_create_for_handler_ptr cef_stream_writer_create_for_handler;
|
||||
cef_task_runner_get_for_current_thread_ptr
|
||||
decltype(&cef_stream_reader_create_for_file)
|
||||
cef_stream_reader_create_for_file;
|
||||
decltype(&cef_stream_reader_create_for_data)
|
||||
cef_stream_reader_create_for_data;
|
||||
decltype(&cef_stream_reader_create_for_handler)
|
||||
cef_stream_reader_create_for_handler;
|
||||
decltype(&cef_stream_writer_create_for_file)
|
||||
cef_stream_writer_create_for_file;
|
||||
decltype(&cef_stream_writer_create_for_handler)
|
||||
cef_stream_writer_create_for_handler;
|
||||
decltype(&cef_task_runner_get_for_current_thread)
|
||||
cef_task_runner_get_for_current_thread;
|
||||
cef_task_runner_get_for_thread_ptr cef_task_runner_get_for_thread;
|
||||
cef_thread_create_ptr cef_thread_create;
|
||||
cef_urlrequest_create_ptr cef_urlrequest_create;
|
||||
cef_v8context_get_current_context_ptr cef_v8context_get_current_context;
|
||||
cef_v8context_get_entered_context_ptr cef_v8context_get_entered_context;
|
||||
cef_v8context_in_context_ptr cef_v8context_in_context;
|
||||
cef_v8value_create_undefined_ptr cef_v8value_create_undefined;
|
||||
cef_v8value_create_null_ptr cef_v8value_create_null;
|
||||
cef_v8value_create_bool_ptr cef_v8value_create_bool;
|
||||
cef_v8value_create_int_ptr cef_v8value_create_int;
|
||||
cef_v8value_create_uint_ptr cef_v8value_create_uint;
|
||||
cef_v8value_create_double_ptr cef_v8value_create_double;
|
||||
cef_v8value_create_date_ptr cef_v8value_create_date;
|
||||
cef_v8value_create_string_ptr cef_v8value_create_string;
|
||||
cef_v8value_create_object_ptr cef_v8value_create_object;
|
||||
cef_v8value_create_array_ptr cef_v8value_create_array;
|
||||
cef_v8value_create_array_buffer_ptr cef_v8value_create_array_buffer;
|
||||
cef_v8value_create_function_ptr cef_v8value_create_function;
|
||||
cef_v8stack_trace_get_current_ptr cef_v8stack_trace_get_current;
|
||||
cef_value_create_ptr cef_value_create;
|
||||
cef_binary_value_create_ptr cef_binary_value_create;
|
||||
cef_dictionary_value_create_ptr cef_dictionary_value_create;
|
||||
cef_list_value_create_ptr cef_list_value_create;
|
||||
cef_waitable_event_create_ptr cef_waitable_event_create;
|
||||
cef_xml_reader_create_ptr cef_xml_reader_create;
|
||||
cef_zip_reader_create_ptr cef_zip_reader_create;
|
||||
cef_translator_test_create_ptr cef_translator_test_create;
|
||||
cef_translator_test_ref_ptr_library_create_ptr
|
||||
decltype(&cef_task_runner_get_for_thread) cef_task_runner_get_for_thread;
|
||||
decltype(&cef_thread_create) cef_thread_create;
|
||||
decltype(&cef_urlrequest_create) cef_urlrequest_create;
|
||||
decltype(&cef_v8context_get_current_context)
|
||||
cef_v8context_get_current_context;
|
||||
decltype(&cef_v8context_get_entered_context)
|
||||
cef_v8context_get_entered_context;
|
||||
decltype(&cef_v8context_in_context) cef_v8context_in_context;
|
||||
decltype(&cef_v8value_create_undefined) cef_v8value_create_undefined;
|
||||
decltype(&cef_v8value_create_null) cef_v8value_create_null;
|
||||
decltype(&cef_v8value_create_bool) cef_v8value_create_bool;
|
||||
decltype(&cef_v8value_create_int) cef_v8value_create_int;
|
||||
decltype(&cef_v8value_create_uint) cef_v8value_create_uint;
|
||||
decltype(&cef_v8value_create_double) cef_v8value_create_double;
|
||||
decltype(&cef_v8value_create_date) cef_v8value_create_date;
|
||||
decltype(&cef_v8value_create_string) cef_v8value_create_string;
|
||||
decltype(&cef_v8value_create_object) cef_v8value_create_object;
|
||||
decltype(&cef_v8value_create_array) cef_v8value_create_array;
|
||||
decltype(&cef_v8value_create_array_buffer) cef_v8value_create_array_buffer;
|
||||
decltype(&cef_v8value_create_function) cef_v8value_create_function;
|
||||
decltype(&cef_v8stack_trace_get_current) cef_v8stack_trace_get_current;
|
||||
decltype(&cef_value_create) cef_value_create;
|
||||
decltype(&cef_binary_value_create) cef_binary_value_create;
|
||||
decltype(&cef_dictionary_value_create) cef_dictionary_value_create;
|
||||
decltype(&cef_list_value_create) cef_list_value_create;
|
||||
decltype(&cef_waitable_event_create) cef_waitable_event_create;
|
||||
decltype(&cef_xml_reader_create) cef_xml_reader_create;
|
||||
decltype(&cef_zip_reader_create) cef_zip_reader_create;
|
||||
decltype(&cef_translator_test_create) cef_translator_test_create;
|
||||
decltype(&cef_translator_test_ref_ptr_library_create)
|
||||
cef_translator_test_ref_ptr_library_create;
|
||||
cef_translator_test_ref_ptr_library_child_create_ptr
|
||||
decltype(&cef_translator_test_ref_ptr_library_child_create)
|
||||
cef_translator_test_ref_ptr_library_child_create;
|
||||
cef_translator_test_ref_ptr_library_child_child_create_ptr
|
||||
decltype(&cef_translator_test_ref_ptr_library_child_child_create)
|
||||
cef_translator_test_ref_ptr_library_child_child_create;
|
||||
cef_translator_test_scoped_library_create_ptr
|
||||
decltype(&cef_translator_test_scoped_library_create)
|
||||
cef_translator_test_scoped_library_create;
|
||||
cef_translator_test_scoped_library_child_create_ptr
|
||||
decltype(&cef_translator_test_scoped_library_child_create)
|
||||
cef_translator_test_scoped_library_child_create;
|
||||
cef_translator_test_scoped_library_child_child_create_ptr
|
||||
decltype(&cef_translator_test_scoped_library_child_child_create)
|
||||
cef_translator_test_scoped_library_child_child_create;
|
||||
cef_browser_view_create_ptr cef_browser_view_create;
|
||||
cef_browser_view_get_for_browser_ptr cef_browser_view_get_for_browser;
|
||||
cef_display_get_primary_ptr cef_display_get_primary;
|
||||
cef_display_get_nearest_point_ptr cef_display_get_nearest_point;
|
||||
cef_display_get_matching_bounds_ptr cef_display_get_matching_bounds;
|
||||
cef_display_get_count_ptr cef_display_get_count;
|
||||
cef_display_get_alls_ptr cef_display_get_alls;
|
||||
cef_label_button_create_ptr cef_label_button_create;
|
||||
cef_menu_button_create_ptr cef_menu_button_create;
|
||||
cef_panel_create_ptr cef_panel_create;
|
||||
cef_scroll_view_create_ptr cef_scroll_view_create;
|
||||
cef_textfield_create_ptr cef_textfield_create;
|
||||
cef_window_create_top_level_ptr cef_window_create_top_level;
|
||||
cef_api_hash_ptr cef_api_hash;
|
||||
cef_version_info_ptr cef_version_info;
|
||||
cef_get_min_log_level_ptr cef_get_min_log_level;
|
||||
cef_get_vlog_level_ptr cef_get_vlog_level;
|
||||
cef_log_ptr cef_log;
|
||||
cef_string_list_alloc_ptr cef_string_list_alloc;
|
||||
cef_string_list_size_ptr cef_string_list_size;
|
||||
cef_string_list_value_ptr cef_string_list_value;
|
||||
cef_string_list_append_ptr cef_string_list_append;
|
||||
cef_string_list_clear_ptr cef_string_list_clear;
|
||||
cef_string_list_free_ptr cef_string_list_free;
|
||||
cef_string_list_copy_ptr cef_string_list_copy;
|
||||
cef_string_map_alloc_ptr cef_string_map_alloc;
|
||||
cef_string_map_size_ptr cef_string_map_size;
|
||||
cef_string_map_find_ptr cef_string_map_find;
|
||||
cef_string_map_key_ptr cef_string_map_key;
|
||||
cef_string_map_value_ptr cef_string_map_value;
|
||||
cef_string_map_append_ptr cef_string_map_append;
|
||||
cef_string_map_clear_ptr cef_string_map_clear;
|
||||
cef_string_map_free_ptr cef_string_map_free;
|
||||
cef_string_multimap_alloc_ptr cef_string_multimap_alloc;
|
||||
cef_string_multimap_size_ptr cef_string_multimap_size;
|
||||
cef_string_multimap_find_count_ptr cef_string_multimap_find_count;
|
||||
cef_string_multimap_enumerate_ptr cef_string_multimap_enumerate;
|
||||
cef_string_multimap_key_ptr cef_string_multimap_key;
|
||||
cef_string_multimap_value_ptr cef_string_multimap_value;
|
||||
cef_string_multimap_append_ptr cef_string_multimap_append;
|
||||
cef_string_multimap_clear_ptr cef_string_multimap_clear;
|
||||
cef_string_multimap_free_ptr cef_string_multimap_free;
|
||||
cef_string_wide_set_ptr cef_string_wide_set;
|
||||
cef_string_utf8_set_ptr cef_string_utf8_set;
|
||||
cef_string_utf16_set_ptr cef_string_utf16_set;
|
||||
cef_string_wide_clear_ptr cef_string_wide_clear;
|
||||
cef_string_utf8_clear_ptr cef_string_utf8_clear;
|
||||
cef_string_utf16_clear_ptr cef_string_utf16_clear;
|
||||
cef_string_wide_cmp_ptr cef_string_wide_cmp;
|
||||
cef_string_utf8_cmp_ptr cef_string_utf8_cmp;
|
||||
cef_string_utf16_cmp_ptr cef_string_utf16_cmp;
|
||||
cef_string_wide_to_utf8_ptr cef_string_wide_to_utf8;
|
||||
cef_string_utf8_to_wide_ptr cef_string_utf8_to_wide;
|
||||
cef_string_wide_to_utf16_ptr cef_string_wide_to_utf16;
|
||||
cef_string_utf16_to_wide_ptr cef_string_utf16_to_wide;
|
||||
cef_string_utf8_to_utf16_ptr cef_string_utf8_to_utf16;
|
||||
cef_string_utf16_to_utf8_ptr cef_string_utf16_to_utf8;
|
||||
cef_string_ascii_to_wide_ptr cef_string_ascii_to_wide;
|
||||
cef_string_ascii_to_utf16_ptr cef_string_ascii_to_utf16;
|
||||
cef_string_userfree_wide_alloc_ptr cef_string_userfree_wide_alloc;
|
||||
cef_string_userfree_utf8_alloc_ptr cef_string_userfree_utf8_alloc;
|
||||
cef_string_userfree_utf16_alloc_ptr cef_string_userfree_utf16_alloc;
|
||||
cef_string_userfree_wide_free_ptr cef_string_userfree_wide_free;
|
||||
cef_string_userfree_utf8_free_ptr cef_string_userfree_utf8_free;
|
||||
cef_string_userfree_utf16_free_ptr cef_string_userfree_utf16_free;
|
||||
cef_string_utf16_to_lower_ptr cef_string_utf16_to_lower;
|
||||
cef_string_utf16_to_upper_ptr cef_string_utf16_to_upper;
|
||||
cef_get_current_platform_thread_id_ptr cef_get_current_platform_thread_id;
|
||||
cef_get_current_platform_thread_handle_ptr
|
||||
decltype(&cef_browser_view_create) cef_browser_view_create;
|
||||
decltype(&cef_browser_view_get_for_browser) cef_browser_view_get_for_browser;
|
||||
decltype(&cef_display_get_primary) cef_display_get_primary;
|
||||
decltype(&cef_display_get_nearest_point) cef_display_get_nearest_point;
|
||||
decltype(&cef_display_get_matching_bounds) cef_display_get_matching_bounds;
|
||||
decltype(&cef_display_get_count) cef_display_get_count;
|
||||
decltype(&cef_display_get_alls) cef_display_get_alls;
|
||||
decltype(&cef_label_button_create) cef_label_button_create;
|
||||
decltype(&cef_menu_button_create) cef_menu_button_create;
|
||||
decltype(&cef_panel_create) cef_panel_create;
|
||||
decltype(&cef_scroll_view_create) cef_scroll_view_create;
|
||||
decltype(&cef_textfield_create) cef_textfield_create;
|
||||
decltype(&cef_window_create_top_level) cef_window_create_top_level;
|
||||
decltype(&cef_api_hash) cef_api_hash;
|
||||
decltype(&cef_version_info) cef_version_info;
|
||||
decltype(&cef_get_min_log_level) cef_get_min_log_level;
|
||||
decltype(&cef_get_vlog_level) cef_get_vlog_level;
|
||||
decltype(&cef_log) cef_log;
|
||||
decltype(&cef_string_list_alloc) cef_string_list_alloc;
|
||||
decltype(&cef_string_list_size) cef_string_list_size;
|
||||
decltype(&cef_string_list_value) cef_string_list_value;
|
||||
decltype(&cef_string_list_append) cef_string_list_append;
|
||||
decltype(&cef_string_list_clear) cef_string_list_clear;
|
||||
decltype(&cef_string_list_free) cef_string_list_free;
|
||||
decltype(&cef_string_list_copy) cef_string_list_copy;
|
||||
decltype(&cef_string_map_alloc) cef_string_map_alloc;
|
||||
decltype(&cef_string_map_size) cef_string_map_size;
|
||||
decltype(&cef_string_map_find) cef_string_map_find;
|
||||
decltype(&cef_string_map_key) cef_string_map_key;
|
||||
decltype(&cef_string_map_value) cef_string_map_value;
|
||||
decltype(&cef_string_map_append) cef_string_map_append;
|
||||
decltype(&cef_string_map_clear) cef_string_map_clear;
|
||||
decltype(&cef_string_map_free) cef_string_map_free;
|
||||
decltype(&cef_string_multimap_alloc) cef_string_multimap_alloc;
|
||||
decltype(&cef_string_multimap_size) cef_string_multimap_size;
|
||||
decltype(&cef_string_multimap_find_count) cef_string_multimap_find_count;
|
||||
decltype(&cef_string_multimap_enumerate) cef_string_multimap_enumerate;
|
||||
decltype(&cef_string_multimap_key) cef_string_multimap_key;
|
||||
decltype(&cef_string_multimap_value) cef_string_multimap_value;
|
||||
decltype(&cef_string_multimap_append) cef_string_multimap_append;
|
||||
decltype(&cef_string_multimap_clear) cef_string_multimap_clear;
|
||||
decltype(&cef_string_multimap_free) cef_string_multimap_free;
|
||||
decltype(&cef_string_wide_set) cef_string_wide_set;
|
||||
decltype(&cef_string_utf8_set) cef_string_utf8_set;
|
||||
decltype(&cef_string_utf16_set) cef_string_utf16_set;
|
||||
decltype(&cef_string_wide_clear) cef_string_wide_clear;
|
||||
decltype(&cef_string_utf8_clear) cef_string_utf8_clear;
|
||||
decltype(&cef_string_utf16_clear) cef_string_utf16_clear;
|
||||
decltype(&cef_string_wide_cmp) cef_string_wide_cmp;
|
||||
decltype(&cef_string_utf8_cmp) cef_string_utf8_cmp;
|
||||
decltype(&cef_string_utf16_cmp) cef_string_utf16_cmp;
|
||||
decltype(&cef_string_wide_to_utf8) cef_string_wide_to_utf8;
|
||||
decltype(&cef_string_utf8_to_wide) cef_string_utf8_to_wide;
|
||||
decltype(&cef_string_wide_to_utf16) cef_string_wide_to_utf16;
|
||||
decltype(&cef_string_utf16_to_wide) cef_string_utf16_to_wide;
|
||||
decltype(&cef_string_utf8_to_utf16) cef_string_utf8_to_utf16;
|
||||
decltype(&cef_string_utf16_to_utf8) cef_string_utf16_to_utf8;
|
||||
decltype(&cef_string_ascii_to_wide) cef_string_ascii_to_wide;
|
||||
decltype(&cef_string_ascii_to_utf16) cef_string_ascii_to_utf16;
|
||||
decltype(&cef_string_userfree_wide_alloc) cef_string_userfree_wide_alloc;
|
||||
decltype(&cef_string_userfree_utf8_alloc) cef_string_userfree_utf8_alloc;
|
||||
decltype(&cef_string_userfree_utf16_alloc) cef_string_userfree_utf16_alloc;
|
||||
decltype(&cef_string_userfree_wide_free) cef_string_userfree_wide_free;
|
||||
decltype(&cef_string_userfree_utf8_free) cef_string_userfree_utf8_free;
|
||||
decltype(&cef_string_userfree_utf16_free) cef_string_userfree_utf16_free;
|
||||
decltype(&cef_string_utf16_to_lower) cef_string_utf16_to_lower;
|
||||
decltype(&cef_string_utf16_to_upper) cef_string_utf16_to_upper;
|
||||
decltype(&cef_get_current_platform_thread_id)
|
||||
cef_get_current_platform_thread_id;
|
||||
decltype(&cef_get_current_platform_thread_handle)
|
||||
cef_get_current_platform_thread_handle;
|
||||
cef_time_to_timet_ptr cef_time_to_timet;
|
||||
cef_time_from_timet_ptr cef_time_from_timet;
|
||||
cef_time_to_doublet_ptr cef_time_to_doublet;
|
||||
cef_time_from_doublet_ptr cef_time_from_doublet;
|
||||
cef_time_now_ptr cef_time_now;
|
||||
cef_time_delta_ptr cef_time_delta;
|
||||
cef_trace_event_instant_ptr cef_trace_event_instant;
|
||||
cef_trace_event_begin_ptr cef_trace_event_begin;
|
||||
cef_trace_event_end_ptr cef_trace_event_end;
|
||||
cef_trace_counter_ptr cef_trace_counter;
|
||||
cef_trace_counter_id_ptr cef_trace_counter_id;
|
||||
cef_trace_event_async_begin_ptr cef_trace_event_async_begin;
|
||||
cef_trace_event_async_step_into_ptr cef_trace_event_async_step_into;
|
||||
cef_trace_event_async_step_past_ptr cef_trace_event_async_step_past;
|
||||
cef_trace_event_async_end_ptr cef_trace_event_async_end;
|
||||
decltype(&cef_time_to_timet) cef_time_to_timet;
|
||||
decltype(&cef_time_from_timet) cef_time_from_timet;
|
||||
decltype(&cef_time_to_doublet) cef_time_to_doublet;
|
||||
decltype(&cef_time_from_doublet) cef_time_from_doublet;
|
||||
decltype(&cef_time_now) cef_time_now;
|
||||
decltype(&cef_time_delta) cef_time_delta;
|
||||
decltype(&cef_trace_event_instant) cef_trace_event_instant;
|
||||
decltype(&cef_trace_event_begin) cef_trace_event_begin;
|
||||
decltype(&cef_trace_event_end) cef_trace_event_end;
|
||||
decltype(&cef_trace_counter) cef_trace_counter;
|
||||
decltype(&cef_trace_counter_id) cef_trace_counter_id;
|
||||
decltype(&cef_trace_event_async_begin) cef_trace_event_async_begin;
|
||||
decltype(&cef_trace_event_async_step_into) cef_trace_event_async_step_into;
|
||||
decltype(&cef_trace_event_async_step_past) cef_trace_event_async_step_past;
|
||||
decltype(&cef_trace_event_async_end) cef_trace_event_async_end;
|
||||
|
||||
} g_libcef_pointers = {0};
|
||||
|
||||
#define INIT_ENTRY(name) \
|
||||
g_libcef_pointers.name = (name##_ptr)libcef_get_ptr(path, #name); \
|
||||
if (!g_libcef_pointers.name) { \
|
||||
return 0; \
|
||||
#define INIT_ENTRY(name) \
|
||||
g_libcef_pointers.name = (decltype(&name))libcef_get_ptr(path, #name); \
|
||||
if (!g_libcef_pointers.name) { \
|
||||
return 0; \
|
||||
}
|
||||
|
||||
int libcef_init_pointers(const char* path) {
|
||||
|
@ -1086,8 +677,8 @@ int cef_create_url(const struct _cef_urlparts_t* parts, cef_string_t* url) {
|
|||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
cef_string_userfree_t cef_format_url_for_security_display(
|
||||
const cef_string_t* origin_url) {
|
||||
cef_string_userfree_t
|
||||
cef_format_url_for_security_display(const cef_string_t* origin_url) {
|
||||
return g_libcef_pointers.cef_format_url_for_security_display(origin_url);
|
||||
}
|
||||
|
||||
|
@ -1349,9 +940,10 @@ void cef_server_create(const cef_string_t* address,
|
|||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
struct _cef_shared_process_message_builder_t*
|
||||
cef_shared_process_message_builder_create(const cef_string_t* name,
|
||||
size_t byte_size) {
|
||||
struct
|
||||
_cef_shared_process_message_builder_t* cef_shared_process_message_builder_create(
|
||||
const cef_string_t* name,
|
||||
size_t byte_size) {
|
||||
return g_libcef_pointers.cef_shared_process_message_builder_create(name,
|
||||
byte_size);
|
||||
}
|
||||
|
@ -1549,46 +1141,54 @@ struct _cef_translator_test_t* cef_translator_test_create() {
|
|||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
struct _cef_translator_test_ref_ptr_library_t*
|
||||
cef_translator_test_ref_ptr_library_create(int value) {
|
||||
struct
|
||||
_cef_translator_test_ref_ptr_library_t* cef_translator_test_ref_ptr_library_create(
|
||||
int value) {
|
||||
return g_libcef_pointers.cef_translator_test_ref_ptr_library_create(value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
struct _cef_translator_test_ref_ptr_library_child_t*
|
||||
cef_translator_test_ref_ptr_library_child_create(int value, int other_value) {
|
||||
struct
|
||||
_cef_translator_test_ref_ptr_library_child_t* cef_translator_test_ref_ptr_library_child_create(
|
||||
int value,
|
||||
int other_value) {
|
||||
return g_libcef_pointers.cef_translator_test_ref_ptr_library_child_create(
|
||||
value, other_value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
struct _cef_translator_test_ref_ptr_library_child_child_t*
|
||||
cef_translator_test_ref_ptr_library_child_child_create(int value,
|
||||
int other_value,
|
||||
int other_other_value) {
|
||||
struct
|
||||
_cef_translator_test_ref_ptr_library_child_child_t* cef_translator_test_ref_ptr_library_child_child_create(
|
||||
int value,
|
||||
int other_value,
|
||||
int other_other_value) {
|
||||
return g_libcef_pointers
|
||||
.cef_translator_test_ref_ptr_library_child_child_create(
|
||||
value, other_value, other_other_value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
struct _cef_translator_test_scoped_library_t*
|
||||
cef_translator_test_scoped_library_create(int value) {
|
||||
struct
|
||||
_cef_translator_test_scoped_library_t* cef_translator_test_scoped_library_create(
|
||||
int value) {
|
||||
return g_libcef_pointers.cef_translator_test_scoped_library_create(value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
struct _cef_translator_test_scoped_library_child_t*
|
||||
cef_translator_test_scoped_library_child_create(int value, int other_value) {
|
||||
struct
|
||||
_cef_translator_test_scoped_library_child_t* cef_translator_test_scoped_library_child_create(
|
||||
int value,
|
||||
int other_value) {
|
||||
return g_libcef_pointers.cef_translator_test_scoped_library_child_create(
|
||||
value, other_value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
struct _cef_translator_test_scoped_library_child_child_t*
|
||||
cef_translator_test_scoped_library_child_child_create(int value,
|
||||
int other_value,
|
||||
int other_other_value) {
|
||||
struct
|
||||
_cef_translator_test_scoped_library_child_child_t* cef_translator_test_scoped_library_child_child_create(
|
||||
int value,
|
||||
int other_value,
|
||||
int other_other_value) {
|
||||
return g_libcef_pointers
|
||||
.cef_translator_test_scoped_library_child_child_create(value, other_value,
|
||||
other_other_value);
|
||||
|
|
Loading…
Reference in New Issue