Update generated files for int/char typedef removal (see #3507)

This commit is contained in:
Marshall Greenblatt
2023-06-01 17:07:20 +03:00
parent 5042d71408
commit b854992ae6
102 changed files with 377 additions and 375 deletions

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5f113123b4a9cd31cb451c9b9e60d5e04c38a6b7$
// $hash=b4b1529613a3609c6d5eee063c2f633475e0c68c$
//
#include "libcef_dll/cpptoc/audio_handler_cpptoc.h"
@ -96,7 +96,7 @@ audio_handler_on_audio_stream_packet(struct _cef_audio_handler_t* self,
struct _cef_browser_t* browser,
const float** data,
int frames,
int64 pts) {
int64_t pts) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5cfbd6a3ef80fe1e42a841e3730d46f4ad3b4648$
// $hash=095894b34598f0352049ba3d8a56a80b9b2ad68e$
//
#include "libcef_dll/cpptoc/browser_cpptoc.h"
@ -291,7 +291,7 @@ browser_get_focused_frame(struct _cef_browser_t* self) {
}
struct _cef_frame_t* CEF_CALLBACK
browser_get_frame_byident(struct _cef_browser_t* self, int64 identifier) {
browser_get_frame_byident(struct _cef_browser_t* self, int64_t identifier) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -348,7 +348,7 @@ size_t CEF_CALLBACK browser_get_frame_count(struct _cef_browser_t* self) {
void CEF_CALLBACK browser_get_frame_identifiers(struct _cef_browser_t* self,
size_t* identifiersCount,
int64* identifiers) {
int64_t* identifiers) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -364,7 +364,7 @@ void CEF_CALLBACK browser_get_frame_identifiers(struct _cef_browser_t* self,
}
// Translate param: identifiers; type: simple_vec_byref
std::vector<int64> identifiersList;
std::vector<int64_t> identifiersList;
if (identifiersCount && *identifiersCount > 0 && identifiers) {
for (size_t i = 0; i < *identifiersCount; ++i) {
identifiersList.push_back(identifiers[i]);

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=2b2caf2af2d24ffbf9cc8d33946ce019b5bf98c9$
// $hash=6a2ebf843d929371a15e34792b6900c0ab622877$
//
#include "libcef_dll/cpptoc/browser_host_cpptoc.h"
@ -387,7 +387,7 @@ void CEF_CALLBACK
browser_host_download_image(struct _cef_browser_host_t* self,
const cef_string_t* image_url,
int is_favicon,
uint32 max_image_size,
uint32_t max_image_size,
int bypass_cache,
cef_download_image_callback_t* callback) {
shutdown_checker::AssertNotShutdown();

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=88060c7df7f0b894e99633a60ad83c1da552ff98$
// $hash=5b13f3f4cac21266cab10ca5153ccebe99d6869b$
//
#include "libcef_dll/cpptoc/browser_process_handler_cpptoc.h"
@ -81,7 +81,7 @@ void CEF_CALLBACK browser_process_handler_on_before_child_process_launch(
void CEF_CALLBACK browser_process_handler_on_schedule_message_pump_work(
struct _cef_browser_process_handler_t* self,
int64 delay_ms) {
int64_t delay_ms) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=0396657d42ed5b75838d1882434adefbcd562be6$
// $hash=e9af4e17ed4b52627002dd4b7c47acee51e81764$
//
#include "libcef_dll/cpptoc/download_item_cpptoc.h"
@ -125,7 +125,7 @@ download_item_get_interrupt_reason(struct _cef_download_item_t* self) {
return _retval;
}
int64 CEF_CALLBACK
int64_t CEF_CALLBACK
download_item_get_current_speed(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
@ -137,7 +137,7 @@ download_item_get_current_speed(struct _cef_download_item_t* self) {
}
// Execute
int64 _retval = CefDownloadItemCppToC::Get(self)->GetCurrentSpeed();
int64_t _retval = CefDownloadItemCppToC::Get(self)->GetCurrentSpeed();
// Return type: simple
return _retval;
@ -161,7 +161,7 @@ download_item_get_percent_complete(struct _cef_download_item_t* self) {
return _retval;
}
int64 CEF_CALLBACK
int64_t CEF_CALLBACK
download_item_get_total_bytes(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
@ -173,13 +173,13 @@ download_item_get_total_bytes(struct _cef_download_item_t* self) {
}
// Execute
int64 _retval = CefDownloadItemCppToC::Get(self)->GetTotalBytes();
int64_t _retval = CefDownloadItemCppToC::Get(self)->GetTotalBytes();
// Return type: simple
return _retval;
}
int64 CEF_CALLBACK
int64_t CEF_CALLBACK
download_item_get_received_bytes(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
@ -191,7 +191,7 @@ download_item_get_received_bytes(struct _cef_download_item_t* self) {
}
// Execute
int64 _retval = CefDownloadItemCppToC::Get(self)->GetReceivedBytes();
int64_t _retval = CefDownloadItemCppToC::Get(self)->GetReceivedBytes();
// Return type: simple
return _retval;
@ -251,7 +251,7 @@ download_item_get_full_path(struct _cef_download_item_t* self) {
return _retval.DetachToUserFree();
}
uint32 CEF_CALLBACK download_item_get_id(struct _cef_download_item_t* self) {
uint32_t CEF_CALLBACK download_item_get_id(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -262,7 +262,7 @@ uint32 CEF_CALLBACK download_item_get_id(struct _cef_download_item_t* self) {
}
// Execute
uint32 _retval = CefDownloadItemCppToC::Get(self)->GetId();
uint32_t _retval = CefDownloadItemCppToC::Get(self)->GetId();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=574bc1dbdf077ee2a6efd015e642e535be21674c$
// $hash=5f0591547b3df5d32d9772d40d484285fb29efa3$
//
#include "libcef_dll/cpptoc/frame_cpptoc.h"
@ -311,7 +311,7 @@ cef_string_userfree_t CEF_CALLBACK frame_get_name(struct _cef_frame_t* self) {
return _retval.DetachToUserFree();
}
int64 CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self) {
int64_t CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -322,7 +322,7 @@ int64 CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self) {
}
// Execute
int64 _retval = CefFrameCppToC::Get(self)->GetIdentifier();
int64_t _retval = CefFrameCppToC::Get(self)->GetIdentifier();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=80cfd5e986d8a5f4b71c3058806cf2ee66100f6e$
// $hash=dd6210f86f9b0a4cc2a6b735fcf3b98a5e541789$
//
#include "libcef_dll/cpptoc/media_access_callback_cpptoc.h"
@ -21,7 +21,7 @@ namespace {
void CEF_CALLBACK
media_access_callback_cont(struct _cef_media_access_callback_t* self,
uint32 allowed_permissions) {
uint32_t allowed_permissions) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1631e01c7930f0c2c94111e8451954c844c84637$
// $hash=0386addd1e401049523c8b13439412a802fb4211$
//
#include "libcef_dll/cpptoc/permission_handler_cpptoc.h"
@ -28,7 +28,7 @@ int CEF_CALLBACK permission_handler_on_request_media_access_permission(
cef_browser_t* browser,
cef_frame_t* frame,
const cef_string_t* requesting_origin,
uint32 requested_permissions,
uint32_t requested_permissions,
cef_media_access_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
@ -73,9 +73,9 @@ int CEF_CALLBACK permission_handler_on_request_media_access_permission(
int CEF_CALLBACK permission_handler_on_show_permission_prompt(
struct _cef_permission_handler_t* self,
cef_browser_t* browser,
uint64 prompt_id,
uint64_t prompt_id,
const cef_string_t* requesting_origin,
uint32 requested_permissions,
uint32_t requested_permissions,
cef_permission_prompt_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
@ -113,7 +113,7 @@ int CEF_CALLBACK permission_handler_on_show_permission_prompt(
void CEF_CALLBACK permission_handler_on_dismiss_permission_prompt(
struct _cef_permission_handler_t* self,
cef_browser_t* browser,
uint64 prompt_id,
uint64_t prompt_id,
cef_permission_request_result_t result) {
shutdown_checker::AssertNotShutdown();

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d9cda583bea7df6ee7b9297e4187b37b5c3cc30a$
// $hash=297d49ea4c02ae7ca19359c30bdcac380a45d95c$
//
#include "libcef_dll/cpptoc/read_handler_cpptoc.h"
@ -45,7 +45,7 @@ size_t CEF_CALLBACK read_handler_read(struct _cef_read_handler_t* self,
}
int CEF_CALLBACK read_handler_seek(struct _cef_read_handler_t* self,
int64 offset,
int64_t offset,
int whence) {
shutdown_checker::AssertNotShutdown();
@ -63,7 +63,7 @@ int CEF_CALLBACK read_handler_seek(struct _cef_read_handler_t* self,
return _retval;
}
int64 CEF_CALLBACK read_handler_tell(struct _cef_read_handler_t* self) {
int64_t CEF_CALLBACK read_handler_tell(struct _cef_read_handler_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -74,7 +74,7 @@ int64 CEF_CALLBACK read_handler_tell(struct _cef_read_handler_t* self) {
}
// Execute
int64 _retval = CefReadHandlerCppToC::Get(self)->Tell();
int64_t _retval = CefReadHandlerCppToC::Get(self)->Tell();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=4a8f5ea7a761afbc9add6949917bb51c6c66d101$
// $hash=665dc752dccd84d278f794b5c6c76093f285112c$
//
#include "libcef_dll/cpptoc/request_cpptoc.h"
@ -419,7 +419,7 @@ request_get_transition_type(struct _cef_request_t* self) {
return _retval;
}
uint64 CEF_CALLBACK request_get_identifier(struct _cef_request_t* self) {
uint64_t CEF_CALLBACK request_get_identifier(struct _cef_request_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -428,7 +428,7 @@ uint64 CEF_CALLBACK request_get_identifier(struct _cef_request_t* self) {
}
// Execute
uint64 _retval = CefRequestCppToC::Get(self)->GetIdentifier();
uint64_t _retval = CefRequestCppToC::Get(self)->GetIdentifier();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ec0ed100e05a34f1f7909e93d8f6f3e8aaadbeaf$
// $hash=b88df417b6c03aa94901820a7cc4682cf3bceb51$
//
#include "libcef_dll/cpptoc/resource_handler_cpptoc.h"
@ -103,7 +103,7 @@ resource_handler_process_request(struct _cef_resource_handler_t* self,
void CEF_CALLBACK
resource_handler_get_response_headers(struct _cef_resource_handler_t* self,
struct _cef_response_t* response,
int64* response_length,
int64_t* response_length,
cef_string_t* redirectUrl) {
shutdown_checker::AssertNotShutdown();
@ -130,7 +130,7 @@ resource_handler_get_response_headers(struct _cef_resource_handler_t* self,
}
// Translate param: response_length; type: simple_byref
int64 response_lengthVal = response_length ? *response_length : 0;
int64_t response_lengthVal = response_length ? *response_length : 0;
// Translate param: redirectUrl; type: string_byref
CefString redirectUrlStr(redirectUrl);
@ -145,8 +145,8 @@ resource_handler_get_response_headers(struct _cef_resource_handler_t* self,
}
int CEF_CALLBACK resource_handler_skip(struct _cef_resource_handler_t* self,
int64 bytes_to_skip,
int64* bytes_skipped,
int64_t bytes_to_skip,
int64_t* bytes_skipped,
cef_resource_skip_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
@ -168,7 +168,7 @@ int CEF_CALLBACK resource_handler_skip(struct _cef_resource_handler_t* self,
}
// Translate param: bytes_skipped; type: simple_byref
int64 bytes_skippedVal = bytes_skipped ? *bytes_skipped : 0;
int64_t bytes_skippedVal = bytes_skipped ? *bytes_skipped : 0;
// Execute
bool _retval = CefResourceHandlerCppToC::Get(self)->Skip(

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b508744274495630cce72e1febb2503552ba9379$
// $hash=6cda6276be92cb33660e4cff45fb664515facec1$
//
#include "libcef_dll/cpptoc/resource_request_handler_cpptoc.h"
@ -234,7 +234,7 @@ void CEF_CALLBACK resource_request_handler_on_resource_load_complete(
cef_request_t* request,
struct _cef_response_t* response,
cef_urlrequest_status_t status,
int64 received_content_length) {
int64_t received_content_length) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=bff1a6490007bd43ac28f862bcc145e3b385b1ca$
// $hash=cd09888724297c57eac0b71ebbe54e097588cfd2$
//
#include "libcef_dll/cpptoc/resource_skip_callback_cpptoc.h"
@ -21,7 +21,7 @@ namespace {
void CEF_CALLBACK
resource_skip_callback_cont(struct _cef_resource_skip_callback_t* self,
int64 bytes_skipped) {
int64_t bytes_skipped) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=8c3f680313770151c050a6355b3ec042929ef4b8$
// $hash=36b8cdbb6821347abd764616baa7b1582a2d8779$
//
#include "libcef_dll/cpptoc/server_cpptoc.h"
@ -21,7 +21,7 @@
// GLOBAL FUNCTIONS - Body may be edited by hand.
CEF_EXPORT void cef_server_create(const cef_string_t* address,
uint16 port,
uint16_t port,
int backlog,
struct _cef_server_handler_t* handler) {
shutdown_checker::AssertNotShutdown();
@ -223,7 +223,7 @@ server_send_http_response(struct _cef_server_t* self,
int connection_id,
int response_code,
const cef_string_t* content_type,
int64 content_length,
int64_t content_length,
cef_string_multimap_t extra_headers) {
shutdown_checker::AssertNotShutdown();

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a724b525291277cfec5b91bb0986bcac487cdea1$
// $hash=2a09370f896a73d7e617fb4f6d856b89db0d5531$
//
#include "libcef_dll/cpptoc/stream_reader_cpptoc.h"
@ -108,7 +108,7 @@ size_t CEF_CALLBACK stream_reader_read(struct _cef_stream_reader_t* self,
}
int CEF_CALLBACK stream_reader_seek(struct _cef_stream_reader_t* self,
int64 offset,
int64_t offset,
int whence) {
shutdown_checker::AssertNotShutdown();
@ -126,7 +126,7 @@ int CEF_CALLBACK stream_reader_seek(struct _cef_stream_reader_t* self,
return _retval;
}
int64 CEF_CALLBACK stream_reader_tell(struct _cef_stream_reader_t* self) {
int64_t CEF_CALLBACK stream_reader_tell(struct _cef_stream_reader_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -137,7 +137,7 @@ int64 CEF_CALLBACK stream_reader_tell(struct _cef_stream_reader_t* self) {
}
// Execute
int64 _retval = CefStreamReaderCppToC::Get(self)->Tell();
int64_t _retval = CefStreamReaderCppToC::Get(self)->Tell();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=9e43a166c77c493dfdc85dd795f1fcf1010b4785$
// $hash=01b28525b4e9c9d1245d7d910f1a45716ade9963$
//
#include "libcef_dll/cpptoc/stream_writer_cpptoc.h"
@ -88,7 +88,7 @@ size_t CEF_CALLBACK stream_writer_write(struct _cef_stream_writer_t* self,
}
int CEF_CALLBACK stream_writer_seek(struct _cef_stream_writer_t* self,
int64 offset,
int64_t offset,
int whence) {
shutdown_checker::AssertNotShutdown();
@ -106,7 +106,7 @@ int CEF_CALLBACK stream_writer_seek(struct _cef_stream_writer_t* self,
return _retval;
}
int64 CEF_CALLBACK stream_writer_tell(struct _cef_stream_writer_t* self) {
int64_t CEF_CALLBACK stream_writer_tell(struct _cef_stream_writer_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -117,7 +117,7 @@ int64 CEF_CALLBACK stream_writer_tell(struct _cef_stream_writer_t* self) {
}
// Execute
int64 _retval = CefStreamWriterCppToC::Get(self)->Tell();
int64_t _retval = CefStreamWriterCppToC::Get(self)->Tell();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a96ba2c140124da8865f2da4c2b8d6a0c958a1fa$
// $hash=646804cf761ea9becc1e0001ae16b1f4d49e3000$
//
#include "libcef_dll/cpptoc/task_runner_cpptoc.h"
@ -133,7 +133,7 @@ int CEF_CALLBACK task_runner_post_task(struct _cef_task_runner_t* self,
int CEF_CALLBACK task_runner_post_delayed_task(struct _cef_task_runner_t* self,
cef_task_t* task,
int64 delay_ms) {
int64_t delay_ms) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3aa25e3d3dcaa8b1499fc4e54dd0cb9d3bb473cb$
// $hash=bd4999e5bbad96be1e3897cfe9dc59bb1c186fba$
//
#include "libcef_dll/cpptoc/test/test_server_cpptoc.h"
@ -19,7 +19,7 @@
// GLOBAL FUNCTIONS - Body may be edited by hand.
CEF_EXPORT cef_test_server_t* cef_test_server_create_and_start(
uint16 port,
uint16_t port,
int https_server,
cef_test_cert_type_t https_cert_type,
struct _cef_test_server_handler_t* handler) {

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=06e8730f31f20b05a030d315593ab982c32539b6$
// $hash=a06a115eda2d02beb98b73713fd60119a21eb67c$
//
#include "libcef_dll/cpptoc/urlrequest_client_cpptoc.h"
@ -46,8 +46,8 @@ urlrequest_client_on_request_complete(struct _cef_urlrequest_client_t* self,
void CEF_CALLBACK
urlrequest_client_on_upload_progress(struct _cef_urlrequest_client_t* self,
cef_urlrequest_t* request,
int64 current,
int64 total) {
int64_t current,
int64_t total) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -70,8 +70,8 @@ urlrequest_client_on_upload_progress(struct _cef_urlrequest_client_t* self,
void CEF_CALLBACK
urlrequest_client_on_download_progress(struct _cef_urlrequest_client_t* self,
cef_urlrequest_t* request,
int64 current,
int64 total) {
int64_t current,
int64_t total) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5f99f370a236b8cb01a0a5818860efe285d20060$
// $hash=ecd6caa0c415b57e93bc66f3c7a4cfb547f022c1$
//
#include "libcef_dll/cpptoc/v8value_cpptoc.h"
@ -54,7 +54,7 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_bool(int value) {
return CefV8ValueCppToC::Wrap(_retval);
}
CEF_EXPORT cef_v8value_t* cef_v8value_create_int(int32 value) {
CEF_EXPORT cef_v8value_t* cef_v8value_create_int(int32_t value) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
@ -64,7 +64,7 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_int(int32 value) {
return CefV8ValueCppToC::Wrap(_retval);
}
CEF_EXPORT cef_v8value_t* cef_v8value_create_uint(uint32 value) {
CEF_EXPORT cef_v8value_t* cef_v8value_create_uint(uint32_t value) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
@ -443,7 +443,7 @@ int CEF_CALLBACK v8value_get_bool_value(struct _cef_v8value_t* self) {
return _retval;
}
int32 CEF_CALLBACK v8value_get_int_value(struct _cef_v8value_t* self) {
int32_t CEF_CALLBACK v8value_get_int_value(struct _cef_v8value_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -452,13 +452,13 @@ int32 CEF_CALLBACK v8value_get_int_value(struct _cef_v8value_t* self) {
}
// Execute
int32 _retval = CefV8ValueCppToC::Get(self)->GetIntValue();
int32_t _retval = CefV8ValueCppToC::Get(self)->GetIntValue();
// Return type: simple
return _retval;
}
uint32 CEF_CALLBACK v8value_get_uint_value(struct _cef_v8value_t* self) {
uint32_t CEF_CALLBACK v8value_get_uint_value(struct _cef_v8value_t* self) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -467,7 +467,7 @@ uint32 CEF_CALLBACK v8value_get_uint_value(struct _cef_v8value_t* self) {
}
// Execute
uint32 _retval = CefV8ValueCppToC::Get(self)->GetUIntValue();
uint32_t _retval = CefV8ValueCppToC::Get(self)->GetUIntValue();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5c179b70eb51a62fd00780eaea1be9c96e3ce3b3$
// $hash=bddabd9fc04400c15bd2ea41f2677c110dadb299$
//
#include "libcef_dll/cpptoc/views/display_cpptoc.h"
@ -216,7 +216,7 @@ namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
int64 CEF_CALLBACK display_get_id(struct _cef_display_t* self) {
int64_t CEF_CALLBACK display_get_id(struct _cef_display_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -227,7 +227,7 @@ int64 CEF_CALLBACK display_get_id(struct _cef_display_t* self) {
}
// Execute
int64 _retval = CefDisplayCppToC::Get(self)->GetID();
int64_t _retval = CefDisplayCppToC::Get(self)->GetID();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=94b9ddc326e4b71aefa8488594a3a6f481624254$
// $hash=2f28922e536557bff211610dd38bb7b4c8a64d5a$
//
#include "libcef_dll/cpptoc/views/window_cpptoc.h"
@ -597,7 +597,7 @@ window_get_window_handle(struct _cef_window_t* self) {
void CEF_CALLBACK window_send_key_press(struct _cef_window_t* self,
int key_code,
uint32 event_flags) {
uint32_t event_flags) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=41aeb9ab533c916fe5a226735fd0fc8a43e6492b$
// $hash=4c688a2d144f2eb55e47735f048596fd8f4914eb$
//
#include "libcef_dll/cpptoc/waitable_event_cpptoc.h"
@ -97,7 +97,7 @@ void CEF_CALLBACK waitable_event_wait(struct _cef_waitable_event_t* self) {
}
int CEF_CALLBACK waitable_event_timed_wait(struct _cef_waitable_event_t* self,
int64 max_ms) {
int64_t max_ms) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=9e4ec003479af870824a7b7609bc45e4f40fc52a$
// $hash=c3caec6488343dacaf00231a9304bcd4b3c95d9e$
//
#include "libcef_dll/cpptoc/write_handler_cpptoc.h"
@ -45,7 +45,7 @@ size_t CEF_CALLBACK write_handler_write(struct _cef_write_handler_t* self,
}
int CEF_CALLBACK write_handler_seek(struct _cef_write_handler_t* self,
int64 offset,
int64_t offset,
int whence) {
shutdown_checker::AssertNotShutdown();
@ -63,7 +63,7 @@ int CEF_CALLBACK write_handler_seek(struct _cef_write_handler_t* self,
return _retval;
}
int64 CEF_CALLBACK write_handler_tell(struct _cef_write_handler_t* self) {
int64_t CEF_CALLBACK write_handler_tell(struct _cef_write_handler_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -74,7 +74,7 @@ int64 CEF_CALLBACK write_handler_tell(struct _cef_write_handler_t* self) {
}
// Execute
int64 _retval = CefWriteHandlerCppToC::Get(self)->Tell();
int64_t _retval = CefWriteHandlerCppToC::Get(self)->Tell();
// Return type: simple
return _retval;

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5867942bc6c9feb3f989d6797cef9777ad85d284$
// $hash=81049bd86aaa1a24f963364c61f766dd086598d5$
//
#include "libcef_dll/cpptoc/zip_reader_cpptoc.h"
@ -136,7 +136,7 @@ zip_reader_get_file_name(struct _cef_zip_reader_t* self) {
return _retval.DetachToUserFree();
}
int64 CEF_CALLBACK zip_reader_get_file_size(struct _cef_zip_reader_t* self) {
int64_t CEF_CALLBACK zip_reader_get_file_size(struct _cef_zip_reader_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -147,7 +147,7 @@ int64 CEF_CALLBACK zip_reader_get_file_size(struct _cef_zip_reader_t* self) {
}
// Execute
int64 _retval = CefZipReaderCppToC::Get(self)->GetFileSize();
int64_t _retval = CefZipReaderCppToC::Get(self)->GetFileSize();
// Return type: simple
return _retval;
@ -231,7 +231,7 @@ int CEF_CALLBACK zip_reader_read_file(struct _cef_zip_reader_t* self,
return _retval;
}
int64 CEF_CALLBACK zip_reader_tell(struct _cef_zip_reader_t* self) {
int64_t CEF_CALLBACK zip_reader_tell(struct _cef_zip_reader_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -242,7 +242,7 @@ int64 CEF_CALLBACK zip_reader_tell(struct _cef_zip_reader_t* self) {
}
// Execute
int64 _retval = CefZipReaderCppToC::Get(self)->Tell();
int64_t _retval = CefZipReaderCppToC::Get(self)->Tell();
// Return type: simple
return _retval;