mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Implement new approach for debugging leaked wrapper object references (issue #2593)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=291349e2aac1209e36b277400bc8229076655cad$
|
||||
// $hash=30a6c8e9611309b983215cfc687b088ca5fad757$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_cpptoc.h"
|
||||
@@ -22,11 +22,14 @@
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_client_ctocpp.h"
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_client_child_ctocpp.h"
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_client_ctocpp.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
#include "libcef_dll/transfer_util.h"
|
||||
|
||||
// GLOBAL FUNCTIONS - Body may be edited by hand.
|
||||
|
||||
CEF_EXPORT cef_translator_test_t* cef_translator_test_create() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
@@ -42,6 +45,8 @@ namespace {
|
||||
|
||||
void CEF_CALLBACK
|
||||
translator_test_get_void(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -53,6 +58,8 @@ translator_test_get_void(struct _cef_translator_test_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK translator_test_get_bool(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -67,6 +74,8 @@ int CEF_CALLBACK translator_test_get_bool(struct _cef_translator_test_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK translator_test_get_int(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -82,6 +91,8 @@ int CEF_CALLBACK translator_test_get_int(struct _cef_translator_test_t* self) {
|
||||
|
||||
double CEF_CALLBACK
|
||||
translator_test_get_double(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -97,6 +108,8 @@ translator_test_get_double(struct _cef_translator_test_t* self) {
|
||||
|
||||
long CEF_CALLBACK
|
||||
translator_test_get_long(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -112,6 +125,8 @@ translator_test_get_long(struct _cef_translator_test_t* self) {
|
||||
|
||||
size_t CEF_CALLBACK
|
||||
translator_test_get_sizet(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -126,6 +141,8 @@ translator_test_get_sizet(struct _cef_translator_test_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK translator_test_set_void(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -141,6 +158,8 @@ int CEF_CALLBACK translator_test_set_void(struct _cef_translator_test_t* self) {
|
||||
|
||||
int CEF_CALLBACK translator_test_set_bool(struct _cef_translator_test_t* self,
|
||||
int val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -157,6 +176,8 @@ int CEF_CALLBACK translator_test_set_bool(struct _cef_translator_test_t* self,
|
||||
|
||||
int CEF_CALLBACK translator_test_set_int(struct _cef_translator_test_t* self,
|
||||
int val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -172,6 +193,8 @@ int CEF_CALLBACK translator_test_set_int(struct _cef_translator_test_t* self,
|
||||
|
||||
int CEF_CALLBACK translator_test_set_double(struct _cef_translator_test_t* self,
|
||||
double val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -187,6 +210,8 @@ int CEF_CALLBACK translator_test_set_double(struct _cef_translator_test_t* self,
|
||||
|
||||
int CEF_CALLBACK translator_test_set_long(struct _cef_translator_test_t* self,
|
||||
long val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -202,6 +227,8 @@ int CEF_CALLBACK translator_test_set_long(struct _cef_translator_test_t* self,
|
||||
|
||||
int CEF_CALLBACK translator_test_set_sizet(struct _cef_translator_test_t* self,
|
||||
size_t val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -219,6 +246,8 @@ int CEF_CALLBACK
|
||||
translator_test_set_int_list(struct _cef_translator_test_t* self,
|
||||
size_t valCount,
|
||||
int const* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -249,6 +278,8 @@ int CEF_CALLBACK
|
||||
translator_test_get_int_list_by_ref(struct _cef_translator_test_t* self,
|
||||
size_t* valCount,
|
||||
int* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -286,6 +317,8 @@ translator_test_get_int_list_by_ref(struct _cef_translator_test_t* self,
|
||||
|
||||
size_t CEF_CALLBACK
|
||||
translator_test_get_int_list_size(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -301,6 +334,8 @@ translator_test_get_int_list_size(struct _cef_translator_test_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
translator_test_get_string(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -316,6 +351,8 @@ translator_test_get_string(struct _cef_translator_test_t* self) {
|
||||
|
||||
int CEF_CALLBACK translator_test_set_string(struct _cef_translator_test_t* self,
|
||||
const cef_string_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -336,6 +373,8 @@ int CEF_CALLBACK translator_test_set_string(struct _cef_translator_test_t* self,
|
||||
void CEF_CALLBACK
|
||||
translator_test_get_string_by_ref(struct _cef_translator_test_t* self,
|
||||
cef_string_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -356,6 +395,8 @@ translator_test_get_string_by_ref(struct _cef_translator_test_t* self,
|
||||
int CEF_CALLBACK
|
||||
translator_test_set_string_list(struct _cef_translator_test_t* self,
|
||||
cef_string_list_t val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -380,6 +421,8 @@ translator_test_set_string_list(struct _cef_translator_test_t* self,
|
||||
int CEF_CALLBACK
|
||||
translator_test_get_string_list_by_ref(struct _cef_translator_test_t* self,
|
||||
cef_string_list_t val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -409,6 +452,8 @@ translator_test_get_string_list_by_ref(struct _cef_translator_test_t* self,
|
||||
int CEF_CALLBACK
|
||||
translator_test_set_string_map(struct _cef_translator_test_t* self,
|
||||
cef_string_map_t val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -433,6 +478,8 @@ translator_test_set_string_map(struct _cef_translator_test_t* self,
|
||||
int CEF_CALLBACK
|
||||
translator_test_get_string_map_by_ref(struct _cef_translator_test_t* self,
|
||||
cef_string_map_t val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -461,6 +508,8 @@ translator_test_get_string_map_by_ref(struct _cef_translator_test_t* self,
|
||||
int CEF_CALLBACK
|
||||
translator_test_set_string_multimap(struct _cef_translator_test_t* self,
|
||||
cef_string_multimap_t val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -486,6 +535,8 @@ translator_test_set_string_multimap(struct _cef_translator_test_t* self,
|
||||
int CEF_CALLBACK
|
||||
translator_test_get_string_multimap_by_ref(struct _cef_translator_test_t* self,
|
||||
cef_string_multimap_t val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -514,6 +565,8 @@ translator_test_get_string_multimap_by_ref(struct _cef_translator_test_t* self,
|
||||
|
||||
cef_point_t CEF_CALLBACK
|
||||
translator_test_get_point(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -529,6 +582,8 @@ translator_test_get_point(struct _cef_translator_test_t* self) {
|
||||
|
||||
int CEF_CALLBACK translator_test_set_point(struct _cef_translator_test_t* self,
|
||||
const cef_point_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -552,6 +607,8 @@ int CEF_CALLBACK translator_test_set_point(struct _cef_translator_test_t* self,
|
||||
void CEF_CALLBACK
|
||||
translator_test_get_point_by_ref(struct _cef_translator_test_t* self,
|
||||
cef_point_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -577,6 +634,8 @@ int CEF_CALLBACK
|
||||
translator_test_set_point_list(struct _cef_translator_test_t* self,
|
||||
size_t valCount,
|
||||
cef_point_t const* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -607,6 +666,8 @@ int CEF_CALLBACK
|
||||
translator_test_get_point_list_by_ref(struct _cef_translator_test_t* self,
|
||||
size_t* valCount,
|
||||
cef_point_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -644,6 +705,8 @@ translator_test_get_point_list_by_ref(struct _cef_translator_test_t* self,
|
||||
|
||||
size_t CEF_CALLBACK
|
||||
translator_test_get_point_list_size(struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -660,6 +723,8 @@ translator_test_get_point_list_size(struct _cef_translator_test_t* self) {
|
||||
struct _cef_translator_test_ref_ptr_library_t* CEF_CALLBACK
|
||||
translator_test_get_ref_ptr_library(struct _cef_translator_test_t* self,
|
||||
int val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -677,6 +742,8 @@ translator_test_get_ref_ptr_library(struct _cef_translator_test_t* self,
|
||||
int CEF_CALLBACK translator_test_set_ref_ptr_library(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_library_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -699,6 +766,8 @@ struct _cef_translator_test_ref_ptr_library_t* CEF_CALLBACK
|
||||
translator_test_set_ref_ptr_library_and_return(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_library_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -721,6 +790,8 @@ translator_test_set_ref_ptr_library_and_return(
|
||||
int CEF_CALLBACK translator_test_set_child_ref_ptr_library(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -743,6 +814,8 @@ struct _cef_translator_test_ref_ptr_library_t* CEF_CALLBACK
|
||||
translator_test_set_child_ref_ptr_library_and_return_parent(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -768,6 +841,8 @@ int CEF_CALLBACK translator_test_set_ref_ptr_library_list(
|
||||
struct _cef_translator_test_ref_ptr_library_t* const* val,
|
||||
int val1,
|
||||
int val2) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -802,6 +877,8 @@ int CEF_CALLBACK translator_test_get_ref_ptr_library_list_by_ref(
|
||||
struct _cef_translator_test_ref_ptr_library_t** val,
|
||||
int val1,
|
||||
int val2) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -840,6 +917,8 @@ int CEF_CALLBACK translator_test_get_ref_ptr_library_list_by_ref(
|
||||
|
||||
size_t CEF_CALLBACK translator_test_get_ref_ptr_library_list_size(
|
||||
struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -857,6 +936,8 @@ size_t CEF_CALLBACK translator_test_get_ref_ptr_library_list_size(
|
||||
int CEF_CALLBACK translator_test_set_ref_ptr_client(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_client_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -879,6 +960,8 @@ struct _cef_translator_test_ref_ptr_client_t* CEF_CALLBACK
|
||||
translator_test_set_ref_ptr_client_and_return(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_client_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -901,6 +984,8 @@ translator_test_set_ref_ptr_client_and_return(
|
||||
int CEF_CALLBACK translator_test_set_child_ref_ptr_client(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_client_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -923,6 +1008,8 @@ struct _cef_translator_test_ref_ptr_client_t* CEF_CALLBACK
|
||||
translator_test_set_child_ref_ptr_client_and_return_parent(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_client_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -948,6 +1035,8 @@ int CEF_CALLBACK translator_test_set_ref_ptr_client_list(
|
||||
struct _cef_translator_test_ref_ptr_client_t* const* val,
|
||||
int val1,
|
||||
int val2) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -982,6 +1071,8 @@ int CEF_CALLBACK translator_test_get_ref_ptr_client_list_by_ref(
|
||||
struct _cef_translator_test_ref_ptr_client_t** val,
|
||||
struct _cef_translator_test_ref_ptr_client_t* val1,
|
||||
struct _cef_translator_test_ref_ptr_client_t* val2) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1029,6 +1120,8 @@ int CEF_CALLBACK translator_test_get_ref_ptr_client_list_by_ref(
|
||||
|
||||
size_t CEF_CALLBACK translator_test_get_ref_ptr_client_list_size(
|
||||
struct _cef_translator_test_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1046,6 +1139,8 @@ size_t CEF_CALLBACK translator_test_get_ref_ptr_client_list_size(
|
||||
struct _cef_translator_test_scoped_library_t* CEF_CALLBACK
|
||||
translator_test_get_own_ptr_library(struct _cef_translator_test_t* self,
|
||||
int val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1063,6 +1158,8 @@ translator_test_get_own_ptr_library(struct _cef_translator_test_t* self,
|
||||
int CEF_CALLBACK translator_test_set_own_ptr_library(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1085,6 +1182,8 @@ struct _cef_translator_test_scoped_library_t* CEF_CALLBACK
|
||||
translator_test_set_own_ptr_library_and_return(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1107,6 +1206,8 @@ translator_test_set_own_ptr_library_and_return(
|
||||
int CEF_CALLBACK translator_test_set_child_own_ptr_library(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1129,6 +1230,8 @@ struct _cef_translator_test_scoped_library_t* CEF_CALLBACK
|
||||
translator_test_set_child_own_ptr_library_and_return_parent(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1151,6 +1254,8 @@ translator_test_set_child_own_ptr_library_and_return_parent(
|
||||
int CEF_CALLBACK translator_test_set_own_ptr_client(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1177,6 +1282,8 @@ struct _cef_translator_test_scoped_client_t* CEF_CALLBACK
|
||||
translator_test_set_own_ptr_client_and_return(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1203,6 +1310,8 @@ translator_test_set_own_ptr_client_and_return(
|
||||
int CEF_CALLBACK translator_test_set_child_own_ptr_client(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1229,6 +1338,8 @@ struct _cef_translator_test_scoped_client_t* CEF_CALLBACK
|
||||
translator_test_set_child_own_ptr_client_and_return_parent(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1255,6 +1366,8 @@ translator_test_set_child_own_ptr_client_and_return_parent(
|
||||
int CEF_CALLBACK translator_test_set_raw_ptr_library(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1276,6 +1389,8 @@ int CEF_CALLBACK translator_test_set_raw_ptr_library(
|
||||
int CEF_CALLBACK translator_test_set_child_raw_ptr_library(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1300,6 +1415,8 @@ int CEF_CALLBACK translator_test_set_raw_ptr_library_list(
|
||||
struct _cef_translator_test_scoped_library_t* const* val,
|
||||
int val1,
|
||||
int val2) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1331,6 +1448,8 @@ int CEF_CALLBACK translator_test_set_raw_ptr_library_list(
|
||||
int CEF_CALLBACK translator_test_set_raw_ptr_client(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1356,6 +1475,8 @@ int CEF_CALLBACK translator_test_set_raw_ptr_client(
|
||||
int CEF_CALLBACK translator_test_set_child_raw_ptr_client(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_child_t* val) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1384,6 +1505,8 @@ int CEF_CALLBACK translator_test_set_raw_ptr_client_list(
|
||||
struct _cef_translator_test_scoped_client_t* const* val,
|
||||
int val1,
|
||||
int val2) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -1509,6 +1632,12 @@ CefTranslatorTestCppToC::CefTranslatorTestCppToC() {
|
||||
translator_test_set_raw_ptr_client_list;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestCppToC::~CefTranslatorTestCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefTranslatorTest> CefCppToCRefCounted<
|
||||
CefTranslatorTestCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1cf3157bbec7e48b5c1acfbbf8d042079314d94c$
|
||||
// $hash=e4fdce2f78e7dc3dffdcb990d5c7dfa2e4ceba2e$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestCppToC
|
||||
cef_translator_test_t> {
|
||||
public:
|
||||
CefTranslatorTestCppToC();
|
||||
virtual ~CefTranslatorTestCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_CPPTOC_H_
|
||||
|
@@ -9,10 +9,11 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9b0984f489348c8d182ec919db8e56a2567b583b$
|
||||
// $hash=ba2f64fa05b36ccf586e2ca05af5491277712b8d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_client_child_cpptoc.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -20,6 +21,8 @@ namespace {
|
||||
|
||||
int CEF_CALLBACK translator_test_ref_ptr_client_child_get_other_value(
|
||||
struct _cef_translator_test_ref_ptr_client_child_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -36,6 +39,8 @@ int CEF_CALLBACK translator_test_ref_ptr_client_child_get_other_value(
|
||||
|
||||
int CEF_CALLBACK translator_test_ref_ptr_client_child_get_value(
|
||||
struct _cef_translator_test_ref_ptr_client_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -63,6 +68,13 @@ CefTranslatorTestRefPtrClientChildCppToC::
|
||||
GetStruct()->base.get_value = translator_test_ref_ptr_client_child_get_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestRefPtrClientChildCppToC::
|
||||
~CefTranslatorTestRefPtrClientChildCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefTranslatorTestRefPtrClientChild>
|
||||
CefCppToCRefCounted<CefTranslatorTestRefPtrClientChildCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=afe7ac384b3c9ac8a3417aeb3513a8d138672f34$
|
||||
// $hash=35168587745a30fc41d2ef4635cdfe8cb4b842c8$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_CLIENT_CHILD_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestRefPtrClientChildCppToC
|
||||
cef_translator_test_ref_ptr_client_child_t> {
|
||||
public:
|
||||
CefTranslatorTestRefPtrClientChildCppToC();
|
||||
virtual ~CefTranslatorTestRefPtrClientChildCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_CLIENT_CHILD_CPPTOC_H_
|
||||
|
@@ -9,11 +9,12 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=a482c2a108a1f2a04a1342fabf285392df54479a$
|
||||
// $hash=94dda0368c29eee3e0fcb3a1429755649cbdd245$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_client_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_client_child_cpptoc.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -21,6 +22,8 @@ namespace {
|
||||
|
||||
int CEF_CALLBACK translator_test_ref_ptr_client_get_value(
|
||||
struct _cef_translator_test_ref_ptr_client_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -42,6 +45,12 @@ CefTranslatorTestRefPtrClientCppToC::CefTranslatorTestRefPtrClientCppToC() {
|
||||
GetStruct()->get_value = translator_test_ref_ptr_client_get_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestRefPtrClientCppToC::~CefTranslatorTestRefPtrClientCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefTranslatorTestRefPtrClient>
|
||||
CefCppToCRefCounted<CefTranslatorTestRefPtrClientCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=39f3507bb25504ac06cc238d1fcf6a9775ab72ca$
|
||||
// $hash=d52748c2716513f529e7f82e313f7bd34710313a$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_CLIENT_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestRefPtrClientCppToC
|
||||
cef_translator_test_ref_ptr_client_t> {
|
||||
public:
|
||||
CefTranslatorTestRefPtrClientCppToC();
|
||||
virtual ~CefTranslatorTestRefPtrClientCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_CLIENT_CPPTOC_H_
|
||||
|
@@ -9,10 +9,11 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=7b4b84a7e66c2ee8cdb7613f6b7139d56b24fa87$
|
||||
// $hash=51efd46ca9949e45b05a5709b9e98089c3e8d31b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_child_child_cpptoc.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
|
||||
// GLOBAL FUNCTIONS - Body may be edited by hand.
|
||||
|
||||
@@ -20,6 +21,8 @@ CEF_EXPORT 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) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
@@ -38,6 +41,8 @@ namespace {
|
||||
int CEF_CALLBACK
|
||||
translator_test_ref_ptr_library_child_child_get_other_other_value(
|
||||
struct _cef_translator_test_ref_ptr_library_child_child_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -56,6 +61,8 @@ void CEF_CALLBACK
|
||||
translator_test_ref_ptr_library_child_child_set_other_other_value(
|
||||
struct _cef_translator_test_ref_ptr_library_child_child_t* self,
|
||||
int value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -69,6 +76,8 @@ translator_test_ref_ptr_library_child_child_set_other_other_value(
|
||||
|
||||
int CEF_CALLBACK translator_test_ref_ptr_library_child_child_get_other_value(
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -89,6 +98,8 @@ int CEF_CALLBACK translator_test_ref_ptr_library_child_child_get_other_value(
|
||||
void CEF_CALLBACK translator_test_ref_ptr_library_child_child_set_other_value(
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* self,
|
||||
int value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -104,6 +115,8 @@ void CEF_CALLBACK translator_test_ref_ptr_library_child_child_set_other_value(
|
||||
|
||||
int CEF_CALLBACK translator_test_ref_ptr_library_child_child_get_value(
|
||||
struct _cef_translator_test_ref_ptr_library_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -124,6 +137,8 @@ int CEF_CALLBACK translator_test_ref_ptr_library_child_child_get_value(
|
||||
void CEF_CALLBACK translator_test_ref_ptr_library_child_child_set_value(
|
||||
struct _cef_translator_test_ref_ptr_library_t* self,
|
||||
int value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -157,6 +172,13 @@ CefTranslatorTestRefPtrLibraryChildChildCppToC::
|
||||
translator_test_ref_ptr_library_child_child_set_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestRefPtrLibraryChildChildCppToC::
|
||||
~CefTranslatorTestRefPtrLibraryChildChildCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibraryChildChild>
|
||||
CefCppToCRefCounted<CefTranslatorTestRefPtrLibraryChildChildCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ee76eabe8bc127d0d9aa7aadc001646e40eb17b8$
|
||||
// $hash=fedc374e5eb3e55a1ed8f13928415ddeab3b5f84$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CHILD_CHILD_CPPTOC_H_
|
||||
@@ -33,6 +33,7 @@ class CefTranslatorTestRefPtrLibraryChildChildCppToC
|
||||
cef_translator_test_ref_ptr_library_child_child_t> {
|
||||
public:
|
||||
CefTranslatorTestRefPtrLibraryChildChildCppToC();
|
||||
virtual ~CefTranslatorTestRefPtrLibraryChildChildCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CHILD_CHILD_CPPTOC_H_
|
||||
|
@@ -9,16 +9,19 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d518a02838933a5fcb2ed8a7405644e1eb70b456$
|
||||
// $hash=bb730076e72ba699a3a07b26f8eaa7ed4e61882f$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_child_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_child_child_cpptoc.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
|
||||
// GLOBAL FUNCTIONS - Body may be edited by hand.
|
||||
|
||||
CEF_EXPORT cef_translator_test_ref_ptr_library_child_t*
|
||||
cef_translator_test_ref_ptr_library_child_create(int value, int other_value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
@@ -35,6 +38,8 @@ namespace {
|
||||
|
||||
int CEF_CALLBACK translator_test_ref_ptr_library_child_get_other_value(
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -52,6 +57,8 @@ int CEF_CALLBACK translator_test_ref_ptr_library_child_get_other_value(
|
||||
void CEF_CALLBACK translator_test_ref_ptr_library_child_set_other_value(
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* self,
|
||||
int value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -64,6 +71,8 @@ void CEF_CALLBACK translator_test_ref_ptr_library_child_set_other_value(
|
||||
|
||||
int CEF_CALLBACK translator_test_ref_ptr_library_child_get_value(
|
||||
struct _cef_translator_test_ref_ptr_library_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -83,6 +92,8 @@ int CEF_CALLBACK translator_test_ref_ptr_library_child_get_value(
|
||||
void CEF_CALLBACK translator_test_ref_ptr_library_child_set_value(
|
||||
struct _cef_translator_test_ref_ptr_library_t* self,
|
||||
int value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -109,6 +120,13 @@ CefTranslatorTestRefPtrLibraryChildCppToC::
|
||||
GetStruct()->base.set_value = translator_test_ref_ptr_library_child_set_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestRefPtrLibraryChildCppToC::
|
||||
~CefTranslatorTestRefPtrLibraryChildCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibraryChild>
|
||||
CefCppToCRefCounted<CefTranslatorTestRefPtrLibraryChildCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c241a7c6517b5ed2ff99a57f69f90f8c9beef3f2$
|
||||
// $hash=99f9355398dd9cffd37716e8aaff3e6002795985$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CHILD_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestRefPtrLibraryChildCppToC
|
||||
cef_translator_test_ref_ptr_library_child_t> {
|
||||
public:
|
||||
CefTranslatorTestRefPtrLibraryChildCppToC();
|
||||
virtual ~CefTranslatorTestRefPtrLibraryChildCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CHILD_CPPTOC_H_
|
||||
|
@@ -9,17 +9,20 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=618e448ef2beca6f47467cfb9c1ba9f646f70f6a$
|
||||
// $hash=7a5ff53a90627d3079306c77cd5b6af90c2b5db3$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_child_child_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/test/translator_test_ref_ptr_library_child_cpptoc.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
|
||||
// GLOBAL FUNCTIONS - Body may be edited by hand.
|
||||
|
||||
CEF_EXPORT cef_translator_test_ref_ptr_library_t*
|
||||
cef_translator_test_ref_ptr_library_create(int value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
@@ -36,6 +39,8 @@ namespace {
|
||||
|
||||
int CEF_CALLBACK translator_test_ref_ptr_library_get_value(
|
||||
struct _cef_translator_test_ref_ptr_library_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -52,6 +57,8 @@ int CEF_CALLBACK translator_test_ref_ptr_library_get_value(
|
||||
void CEF_CALLBACK translator_test_ref_ptr_library_set_value(
|
||||
struct _cef_translator_test_ref_ptr_library_t* self,
|
||||
int value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@@ -71,6 +78,12 @@ CefTranslatorTestRefPtrLibraryCppToC::CefTranslatorTestRefPtrLibraryCppToC() {
|
||||
GetStruct()->set_value = translator_test_ref_ptr_library_set_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestRefPtrLibraryCppToC::~CefTranslatorTestRefPtrLibraryCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibrary>
|
||||
CefCppToCRefCounted<CefTranslatorTestRefPtrLibraryCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=633efdeb9f8b11b7c4673b1cf629f82bd3ef2295$
|
||||
// $hash=acee8cf418100a5f1fff494326a1bf4b9d04b06d$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestRefPtrLibraryCppToC
|
||||
cef_translator_test_ref_ptr_library_t> {
|
||||
public:
|
||||
CefTranslatorTestRefPtrLibraryCppToC();
|
||||
virtual ~CefTranslatorTestRefPtrLibraryCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_REF_PTR_LIBRARY_CPPTOC_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=57e588531e5b86a9290a506d37a4e4198a7dc26b$
|
||||
// $hash=90d6a53956c2d81e9ab271ff02f8f857f250c0e9$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_scoped_client_child_cpptoc.h"
|
||||
@@ -63,6 +63,11 @@ CefTranslatorTestScopedClientChildCppToC::
|
||||
GetStruct()->base.get_value = translator_test_scoped_client_child_get_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestScopedClientChildCppToC::
|
||||
~CefTranslatorTestScopedClientChildCppToC() {}
|
||||
|
||||
template <>
|
||||
CefOwnPtr<CefTranslatorTestScopedClientChild>
|
||||
CefCppToCScoped<CefTranslatorTestScopedClientChildCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c0d43ef1420301ba162e0747a63bf149fba10256$
|
||||
// $hash=0b503069790b4b005c487b9e6ab91fdcc9fdc47d$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_CLIENT_CHILD_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestScopedClientChildCppToC
|
||||
cef_translator_test_scoped_client_child_t> {
|
||||
public:
|
||||
CefTranslatorTestScopedClientChildCppToC();
|
||||
virtual ~CefTranslatorTestScopedClientChildCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_CLIENT_CHILD_CPPTOC_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f06aa2536b2c7d6bd3defdb5ce24a38062c7c2df$
|
||||
// $hash=b4a244b1991bcd3598d09b1bfce816d0c80e831f$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_scoped_client_cpptoc.h"
|
||||
@@ -42,6 +42,10 @@ CefTranslatorTestScopedClientCppToC::CefTranslatorTestScopedClientCppToC() {
|
||||
GetStruct()->get_value = translator_test_scoped_client_get_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestScopedClientCppToC::~CefTranslatorTestScopedClientCppToC() {}
|
||||
|
||||
template <>
|
||||
CefOwnPtr<CefTranslatorTestScopedClient>
|
||||
CefCppToCScoped<CefTranslatorTestScopedClientCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=55a7943ecaff5f45d80eaf4603f91351a3e23833$
|
||||
// $hash=a878f6dc013076b562ea3e5aa108ddc2b91eedc8$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_CLIENT_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestScopedClientCppToC
|
||||
cef_translator_test_scoped_client_t> {
|
||||
public:
|
||||
CefTranslatorTestScopedClientCppToC();
|
||||
virtual ~CefTranslatorTestScopedClientCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_CLIENT_CPPTOC_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b2c3cf0dd0ce2b03241d193fbe9f08cc824f79bf$
|
||||
// $hash=bec866457994d5418ece7c184c3f5516a92bfbfd$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_scoped_library_child_child_cpptoc.h"
|
||||
@@ -156,6 +156,11 @@ CefTranslatorTestScopedLibraryChildChildCppToC::
|
||||
translator_test_scoped_library_child_child_set_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestScopedLibraryChildChildCppToC::
|
||||
~CefTranslatorTestScopedLibraryChildChildCppToC() {}
|
||||
|
||||
template <>
|
||||
CefOwnPtr<CefTranslatorTestScopedLibraryChildChild>
|
||||
CefCppToCScoped<CefTranslatorTestScopedLibraryChildChildCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=454ba5444994da75b28c8af9280f00b8f70e42f0$
|
||||
// $hash=71068655419b37ec72caf56f043a62d5bc9a704f$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CHILD_CHILD_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestScopedLibraryChildChildCppToC
|
||||
cef_translator_test_scoped_library_child_child_t> {
|
||||
public:
|
||||
CefTranslatorTestScopedLibraryChildChildCppToC();
|
||||
virtual ~CefTranslatorTestScopedLibraryChildChildCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CHILD_CHILD_CPPTOC_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=06fad15aadcf15e6f8067fb36696f05fd93e7e1f$
|
||||
// $hash=171c183383e07cd9a62afe4452d7c2bf080c84cc$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_scoped_library_child_cpptoc.h"
|
||||
@@ -109,6 +109,11 @@ CefTranslatorTestScopedLibraryChildCppToC::
|
||||
GetStruct()->base.set_value = translator_test_scoped_library_child_set_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestScopedLibraryChildCppToC::
|
||||
~CefTranslatorTestScopedLibraryChildCppToC() {}
|
||||
|
||||
template <>
|
||||
CefOwnPtr<CefTranslatorTestScopedLibraryChild>
|
||||
CefCppToCScoped<CefTranslatorTestScopedLibraryChildCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9ae36afe152d4dbe296893515b55175b9a8b1cf0$
|
||||
// $hash=7e9b225caa5f6e109a1e6d50e5b021d1b013ef13$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CHILD_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestScopedLibraryChildCppToC
|
||||
cef_translator_test_scoped_library_child_t> {
|
||||
public:
|
||||
CefTranslatorTestScopedLibraryChildCppToC();
|
||||
virtual ~CefTranslatorTestScopedLibraryChildCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CHILD_CPPTOC_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=37015dee6709983f74f14b20116b4c2dfdd6c938$
|
||||
// $hash=26cdad7ba16110fb7a45e25fcd9ddc438a67fb5d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/test/translator_test_scoped_library_cpptoc.h"
|
||||
@@ -71,6 +71,10 @@ CefTranslatorTestScopedLibraryCppToC::CefTranslatorTestScopedLibraryCppToC() {
|
||||
GetStruct()->set_value = translator_test_scoped_library_set_value;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTranslatorTestScopedLibraryCppToC::~CefTranslatorTestScopedLibraryCppToC() {}
|
||||
|
||||
template <>
|
||||
CefOwnPtr<CefTranslatorTestScopedLibrary>
|
||||
CefCppToCScoped<CefTranslatorTestScopedLibraryCppToC,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e4c61637b31190d609aacae74445e96c49be6f2f$
|
||||
// $hash=5379d2c8a3480a5071bda1d6372ff78d9f149c3e$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CPPTOC_H_
|
||||
@@ -32,6 +32,7 @@ class CefTranslatorTestScopedLibraryCppToC
|
||||
cef_translator_test_scoped_library_t> {
|
||||
public:
|
||||
CefTranslatorTestScopedLibraryCppToC();
|
||||
virtual ~CefTranslatorTestScopedLibraryCppToC();
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CPPTOC_TEST_TRANSLATOR_TEST_SCOPED_LIBRARY_CPPTOC_H_
|
||||
|
Reference in New Issue
Block a user