mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update generated files for void* return value (see #3591)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e4cad5e75e1837d5d68c936e71b919e1702afad9$
|
||||
// $hash=a5ca27729a570de0318a9d15416fee153afaec32$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/binary_value_cpptoc.h"
|
||||
@@ -145,14 +145,13 @@ const void* CEF_CALLBACK
|
||||
binary_value_get_raw_data(struct _cef_binary_value_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// This manual implementation can be removed once support for 'const void*'
|
||||
// is integrated into the CEF translator tool (issue #3591).
|
||||
|
||||
// Execute
|
||||
const void* _retval = CefBinaryValueCppToC::Get(self)->GetRawData();
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d9074b7c1500d594cc88a4eedb68d9d31c5f5018$
|
||||
// $hash=fd37d01fdcf8c3de25e36d428ca38781c4749586$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/shared_memory_region_cpptoc.h"
|
||||
@@ -60,14 +60,13 @@ void* CEF_CALLBACK
|
||||
shared_memory_region_memory(struct _cef_shared_memory_region_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// This manual implementation can be removed once support for 'void*'
|
||||
// is integrated into the CEF translator tool (issue #3591).
|
||||
|
||||
// Execute
|
||||
void* _retval = CefSharedMemoryRegionCppToC::Get(self)->Memory();
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=592d43a6597f03f91eb13ea9354ed552f581ebec$
|
||||
// $hash=fb7e4b1912656da200ed1dd614a9f03e7d5f8ce7$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/shared_process_message_builder_cpptoc.h"
|
||||
@@ -84,15 +84,17 @@ void* CEF_CALLBACK shared_process_message_builder_memory(
|
||||
struct _cef_shared_process_message_builder_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self) {
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
void* _retval = CefSharedProcessMessageBuilderCppToC::Get(self)->Memory();
|
||||
|
||||
// Return type: simple
|
||||
// Return type: simple_byaddr
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=befb2f29af8a0e8eabf745fad126ebad5a741c74$
|
||||
// $hash=10ac43c0f16dedaf21bfa55f126f61c4d179abca$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/v8value_cpptoc.h"
|
||||
@@ -976,14 +976,13 @@ v8value_get_array_buffer_byte_length(struct _cef_v8value_t* self) {
|
||||
}
|
||||
|
||||
void* CEF_CALLBACK v8value_get_array_buffer_data(struct _cef_v8value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// This manual implementation can be removed once support for 'void*'
|
||||
// is integrated into the CEF translator tool (issue #3591).
|
||||
|
||||
// Execute
|
||||
void* _retval = CefV8ValueCppToC::Get(self)->GetArrayBufferData();
|
||||
|
||||
|
Reference in New Issue
Block a user