Apply clang-format to all C, C++ and ObjC files (issue #2171)

This commit is contained in:
Marshall Greenblatt
2017-05-17 11:29:28 +02:00
parent a566549e04
commit 31d9407ee2
1331 changed files with 33014 additions and 32258 deletions

View File

@ -33,6 +33,8 @@
// by hand. See the translator.README.txt file in the tools directory for
// more information.
//
// $hash=ec043910c391a84dda3b85cf01ea11cd44f37c1f$
//
#ifndef CEF_INCLUDE_CAPI_TEST_CEF_TRANSLATOR_TEST_CAPI_H_
#define CEF_INCLUDE_CAPI_TEST_CEF_TRANSLATOR_TEST_CAPI_H_
@ -67,88 +69,87 @@ typedef struct _cef_translator_test_t {
///
cef_base_ref_counted_t base;
// PRIMITIVE VALUES
///
// Return a void value.
///
void (CEF_CALLBACK *get_void)(struct _cef_translator_test_t* self);
void(CEF_CALLBACK* get_void)(struct _cef_translator_test_t* self);
///
// Return a bool value.
///
int (CEF_CALLBACK *get_bool)(struct _cef_translator_test_t* self);
int(CEF_CALLBACK* get_bool)(struct _cef_translator_test_t* self);
///
// Return an int value.
///
int (CEF_CALLBACK *get_int)(struct _cef_translator_test_t* self);
int(CEF_CALLBACK* get_int)(struct _cef_translator_test_t* self);
///
// Return a double value.
///
double (CEF_CALLBACK *get_double)(struct _cef_translator_test_t* self);
double(CEF_CALLBACK* get_double)(struct _cef_translator_test_t* self);
///
// Return a long value.
///
long (CEF_CALLBACK *get_long)(struct _cef_translator_test_t* self);
long(CEF_CALLBACK* get_long)(struct _cef_translator_test_t* self);
///
// Return a size_t value.
///
size_t (CEF_CALLBACK *get_sizet)(struct _cef_translator_test_t* self);
size_t(CEF_CALLBACK* get_sizet)(struct _cef_translator_test_t* self);
///
// Set a void value.
///
int (CEF_CALLBACK *set_void)(struct _cef_translator_test_t* self);
int(CEF_CALLBACK* set_void)(struct _cef_translator_test_t* self);
///
// Set a bool value.
///
int (CEF_CALLBACK *set_bool)(struct _cef_translator_test_t* self, int val);
int(CEF_CALLBACK* set_bool)(struct _cef_translator_test_t* self, int val);
///
// Set an int value.
///
int (CEF_CALLBACK *set_int)(struct _cef_translator_test_t* self, int val);
int(CEF_CALLBACK* set_int)(struct _cef_translator_test_t* self, int val);
///
// Set a double value.
///
int (CEF_CALLBACK *set_double)(struct _cef_translator_test_t* self,
double val);
int(CEF_CALLBACK* set_double)(struct _cef_translator_test_t* self,
double val);
///
// Set a long value.
///
int (CEF_CALLBACK *set_long)(struct _cef_translator_test_t* self, long val);
int(CEF_CALLBACK* set_long)(struct _cef_translator_test_t* self, long val);
///
// Set a size_t value.
///
int (CEF_CALLBACK *set_sizet)(struct _cef_translator_test_t* self,
size_t val);
int(CEF_CALLBACK* set_sizet)(struct _cef_translator_test_t* self, size_t val);
///
// Set a int list value.
///
int (CEF_CALLBACK *set_int_list)(struct _cef_translator_test_t* self,
size_t valCount, int const* val);
int(CEF_CALLBACK* set_int_list)(struct _cef_translator_test_t* self,
size_t valCount,
int const* val);
///
// Return an int list value by out-param.
///
int (CEF_CALLBACK *get_int_list_by_ref)(struct _cef_translator_test_t* self,
size_t* valCount, int* val);
int(CEF_CALLBACK* get_int_list_by_ref)(struct _cef_translator_test_t* self,
size_t* valCount,
int* val);
///
// Return the number of points that will be output above.
///
size_t (CEF_CALLBACK *get_int_list_size)(struct _cef_translator_test_t* self);
size_t(CEF_CALLBACK* get_int_list_size)(struct _cef_translator_test_t* self);
// STRING VALUES
@ -156,119 +157,121 @@ typedef struct _cef_translator_test_t {
// Return a string value.
///
// The resulting string must be freed by calling cef_string_userfree_free().
cef_string_userfree_t (CEF_CALLBACK *get_string)(
cef_string_userfree_t(CEF_CALLBACK* get_string)(
struct _cef_translator_test_t* self);
///
// Set a string value.
///
int (CEF_CALLBACK *set_string)(struct _cef_translator_test_t* self,
const cef_string_t* val);
int(CEF_CALLBACK* set_string)(struct _cef_translator_test_t* self,
const cef_string_t* val);
///
// Return a string value by out-param.
///
void (CEF_CALLBACK *get_string_by_ref)(struct _cef_translator_test_t* self,
cef_string_t* val);
void(CEF_CALLBACK* get_string_by_ref)(struct _cef_translator_test_t* self,
cef_string_t* val);
///
// Set a string list value.
///
int (CEF_CALLBACK *set_string_list)(struct _cef_translator_test_t* self,
cef_string_list_t val);
int(CEF_CALLBACK* set_string_list)(struct _cef_translator_test_t* self,
cef_string_list_t val);
///
// Return a string list value by out-param.
///
int (CEF_CALLBACK *get_string_list_by_ref)(
struct _cef_translator_test_t* self, cef_string_list_t val);
int(CEF_CALLBACK* get_string_list_by_ref)(struct _cef_translator_test_t* self,
cef_string_list_t val);
///
// Set a string map value.
///
int (CEF_CALLBACK *set_string_map)(struct _cef_translator_test_t* self,
cef_string_map_t val);
int(CEF_CALLBACK* set_string_map)(struct _cef_translator_test_t* self,
cef_string_map_t val);
///
// Return a string map value by out-param.
///
int (CEF_CALLBACK *get_string_map_by_ref)(struct _cef_translator_test_t* self,
cef_string_map_t val);
int(CEF_CALLBACK* get_string_map_by_ref)(struct _cef_translator_test_t* self,
cef_string_map_t val);
///
// Set a string multimap value.
///
int (CEF_CALLBACK *set_string_multimap)(struct _cef_translator_test_t* self,
cef_string_multimap_t val);
int(CEF_CALLBACK* set_string_multimap)(struct _cef_translator_test_t* self,
cef_string_multimap_t val);
///
// Return a string multimap value by out-param.
///
int (CEF_CALLBACK *get_string_multimap_by_ref)(
struct _cef_translator_test_t* self, cef_string_multimap_t val);
int(CEF_CALLBACK* get_string_multimap_by_ref)(
struct _cef_translator_test_t* self,
cef_string_multimap_t val);
// STRUCT VALUES
///
// Return a point value.
///
cef_point_t (CEF_CALLBACK *get_point)(struct _cef_translator_test_t* self);
cef_point_t(CEF_CALLBACK* get_point)(struct _cef_translator_test_t* self);
///
// Set a point value.
///
int (CEF_CALLBACK *set_point)(struct _cef_translator_test_t* self,
const cef_point_t* val);
int(CEF_CALLBACK* set_point)(struct _cef_translator_test_t* self,
const cef_point_t* val);
///
// Return a point value by out-param.
///
void (CEF_CALLBACK *get_point_by_ref)(struct _cef_translator_test_t* self,
cef_point_t* val);
void(CEF_CALLBACK* get_point_by_ref)(struct _cef_translator_test_t* self,
cef_point_t* val);
///
// Set a point list vlaue.
///
int (CEF_CALLBACK *set_point_list)(struct _cef_translator_test_t* self,
size_t valCount, cef_point_t const* val);
int(CEF_CALLBACK* set_point_list)(struct _cef_translator_test_t* self,
size_t valCount,
cef_point_t const* val);
///
// Return a point list value by out-param.
///
int (CEF_CALLBACK *get_point_list_by_ref)(struct _cef_translator_test_t* self,
size_t* valCount, cef_point_t* val);
int(CEF_CALLBACK* get_point_list_by_ref)(struct _cef_translator_test_t* self,
size_t* valCount,
cef_point_t* val);
///
// Return the number of points that will be output above.
///
size_t (CEF_CALLBACK *get_point_list_size)(
size_t(CEF_CALLBACK* get_point_list_size)(
struct _cef_translator_test_t* self);
// LIBRARY-SIDE REFPTR VALUES
///
// Return an new library-side object.
///
struct _cef_translator_test_ref_ptr_library_t* (
CEF_CALLBACK *get_ref_ptr_library)(struct _cef_translator_test_t* self,
int val);
struct _cef_translator_test_ref_ptr_library_t*(
CEF_CALLBACK* get_ref_ptr_library)(struct _cef_translator_test_t* self,
int val);
///
// Set an object. Returns the value from
// cef_translator_test_ref_ptr_library_t::get_value(). This tests input and
// execution of a library-side object type.
///
int (CEF_CALLBACK *set_ref_ptr_library)(struct _cef_translator_test_t* self,
int(CEF_CALLBACK* set_ref_ptr_library)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_ref_ptr_library_t* val);
///
// Set an object. Returns the object passed in. This tests input and output of
// a library-side object type.
///
struct _cef_translator_test_ref_ptr_library_t* (
CEF_CALLBACK *set_ref_ptr_library_and_return)(
struct _cef_translator_test_ref_ptr_library_t*(
CEF_CALLBACK* set_ref_ptr_library_and_return)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_ref_ptr_library_t* val);
@ -277,7 +280,7 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_ref_ptr_library_t::get_value(). This tests input of a
// library- side child object type and execution as the parent type.
///
int (CEF_CALLBACK *set_child_ref_ptr_library)(
int(CEF_CALLBACK* set_child_ref_ptr_library)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_ref_ptr_library_child_t* val);
@ -285,34 +288,37 @@ typedef struct _cef_translator_test_t {
// Set a child object. Returns the object as the parent type. This tests input
// of a library-side child object type and return as the parent type.
///
struct _cef_translator_test_ref_ptr_library_t* (
CEF_CALLBACK *set_child_ref_ptr_library_and_return_parent)(
struct _cef_translator_test_ref_ptr_library_t*(
CEF_CALLBACK* set_child_ref_ptr_library_and_return_parent)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_ref_ptr_library_child_t* val);
///
// Set an object list vlaue.
///
int (CEF_CALLBACK *set_ref_ptr_library_list)(
struct _cef_translator_test_t* self, size_t valCount,
struct _cef_translator_test_ref_ptr_library_t* const* val, int val1,
int(CEF_CALLBACK* set_ref_ptr_library_list)(
struct _cef_translator_test_t* self,
size_t valCount,
struct _cef_translator_test_ref_ptr_library_t* const* val,
int val1,
int val2);
///
// Return an object list value by out-param.
///
int (CEF_CALLBACK *get_ref_ptr_library_list_by_ref)(
struct _cef_translator_test_t* self, size_t* valCount,
struct _cef_translator_test_ref_ptr_library_t** val, int val1,
int(CEF_CALLBACK* get_ref_ptr_library_list_by_ref)(
struct _cef_translator_test_t* self,
size_t* valCount,
struct _cef_translator_test_ref_ptr_library_t** val,
int val1,
int val2);
///
// Return the number of object that will be output above.
///
size_t (CEF_CALLBACK *get_ref_ptr_library_list_size)(
size_t(CEF_CALLBACK* get_ref_ptr_library_list_size)(
struct _cef_translator_test_t* self);
// CLIENT-SIDE REFPTR VALUES
///
@ -320,15 +326,16 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_ref_ptr_client_t::get_value(). This tests input and
// execution of a client-side object type.
///
int (CEF_CALLBACK *set_ref_ptr_client)(struct _cef_translator_test_t* self,
int(CEF_CALLBACK* set_ref_ptr_client)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_ref_ptr_client_t* val);
///
// Set an object. Returns the handler passed in. This tests input and output
// of a client-side object type.
///
struct _cef_translator_test_ref_ptr_client_t* (
CEF_CALLBACK *set_ref_ptr_client_and_return)(
struct _cef_translator_test_ref_ptr_client_t*(
CEF_CALLBACK* set_ref_ptr_client_and_return)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_ref_ptr_client_t* val);
@ -337,7 +344,7 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_ref_ptr_client_t::get_value(). This tests input of a
// client- side child object type and execution as the parent type.
///
int (CEF_CALLBACK *set_child_ref_ptr_client)(
int(CEF_CALLBACK* set_child_ref_ptr_client)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_ref_ptr_client_child_t* val);
@ -345,24 +352,27 @@ typedef struct _cef_translator_test_t {
// Set a child object. Returns the object as the parent type. This tests input
// of a client-side child object type and return as the parent type.
///
struct _cef_translator_test_ref_ptr_client_t* (
CEF_CALLBACK *set_child_ref_ptr_client_and_return_parent)(
struct _cef_translator_test_ref_ptr_client_t*(
CEF_CALLBACK* set_child_ref_ptr_client_and_return_parent)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_ref_ptr_client_child_t* val);
///
// Set an object list vlaue.
///
int (CEF_CALLBACK *set_ref_ptr_client_list)(
struct _cef_translator_test_t* self, size_t valCount,
struct _cef_translator_test_ref_ptr_client_t* const* val, int val1,
int(CEF_CALLBACK* set_ref_ptr_client_list)(
struct _cef_translator_test_t* self,
size_t valCount,
struct _cef_translator_test_ref_ptr_client_t* const* val,
int val1,
int val2);
///
// Return an object list value by out-param.
///
int (CEF_CALLBACK *get_ref_ptr_client_list_by_ref)(
struct _cef_translator_test_t* self, size_t* valCount,
int(CEF_CALLBACK* get_ref_ptr_client_list_by_ref)(
struct _cef_translator_test_t* self,
size_t* valCount,
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);
@ -370,33 +380,33 @@ typedef struct _cef_translator_test_t {
///
// Return the number of object that will be output above.
///
size_t (CEF_CALLBACK *get_ref_ptr_client_list_size)(
size_t(CEF_CALLBACK* get_ref_ptr_client_list_size)(
struct _cef_translator_test_t* self);
// LIBRARY-SIDE OWNPTR VALUES
///
// Return an new library-side object.
///
struct _cef_translator_test_scoped_library_t* (
CEF_CALLBACK *get_own_ptr_library)(struct _cef_translator_test_t* self,
int val);
struct _cef_translator_test_scoped_library_t*(
CEF_CALLBACK* get_own_ptr_library)(struct _cef_translator_test_t* self,
int val);
///
// Set an object. Returns the value from
// cef_translator_test_scoped_library_t::get_value(). This tests input and
// execution of a library-side object type.
///
int (CEF_CALLBACK *set_own_ptr_library)(struct _cef_translator_test_t* self,
int(CEF_CALLBACK* set_own_ptr_library)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_library_t* val);
///
// Set an object. Returns the object passed in. This tests input and output of
// a library-side object type.
///
struct _cef_translator_test_scoped_library_t* (
CEF_CALLBACK *set_own_ptr_library_and_return)(
struct _cef_translator_test_scoped_library_t*(
CEF_CALLBACK* set_own_ptr_library_and_return)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_library_t* val);
@ -405,7 +415,7 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_scoped_library_t::get_value(). This tests input of a
// library- side child object type and execution as the parent type.
///
int (CEF_CALLBACK *set_child_own_ptr_library)(
int(CEF_CALLBACK* set_child_own_ptr_library)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_library_child_t* val);
@ -413,12 +423,11 @@ typedef struct _cef_translator_test_t {
// Set a child object. Returns the object as the parent type. This tests input
// of a library-side child object type and return as the parent type.
///
struct _cef_translator_test_scoped_library_t* (
CEF_CALLBACK *set_child_own_ptr_library_and_return_parent)(
struct _cef_translator_test_scoped_library_t*(
CEF_CALLBACK* set_child_own_ptr_library_and_return_parent)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_library_child_t* val);
// CLIENT-SIDE OWNPTR VALUES
///
@ -426,15 +435,16 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_scoped_client_t::get_value(). This tests input and
// execution of a client-side object type.
///
int (CEF_CALLBACK *set_own_ptr_client)(struct _cef_translator_test_t* self,
int(CEF_CALLBACK* set_own_ptr_client)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_client_t* val);
///
// Set an object. Returns the handler passed in. This tests input and output
// of a client-side object type.
///
struct _cef_translator_test_scoped_client_t* (
CEF_CALLBACK *set_own_ptr_client_and_return)(
struct _cef_translator_test_scoped_client_t*(
CEF_CALLBACK* set_own_ptr_client_and_return)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_client_t* val);
@ -443,7 +453,7 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_scoped_client_t::get_value(). This tests input of a
// client- side child object type and execution as the parent type.
///
int (CEF_CALLBACK *set_child_own_ptr_client)(
int(CEF_CALLBACK* set_child_own_ptr_client)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_client_child_t* val);
@ -451,12 +461,11 @@ typedef struct _cef_translator_test_t {
// Set a child object. Returns the object as the parent type. This tests input
// of a client-side child object type and return as the parent type.
///
struct _cef_translator_test_scoped_client_t* (
CEF_CALLBACK *set_child_own_ptr_client_and_return_parent)(
struct _cef_translator_test_scoped_client_t*(
CEF_CALLBACK* set_child_own_ptr_client_and_return_parent)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_client_child_t* val);
// LIBRARY-SIDE RAWPTR VALUES
///
@ -464,7 +473,8 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_scoped_library_t::get_value(). This tests input and
// execution of a library-side object type.
///
int (CEF_CALLBACK *set_raw_ptr_library)(struct _cef_translator_test_t* self,
int(CEF_CALLBACK* set_raw_ptr_library)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_library_t* val);
///
@ -472,19 +482,20 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_scoped_library_t::get_value(). This tests input of a
// library- side child object type and execution as the parent type.
///
int (CEF_CALLBACK *set_child_raw_ptr_library)(
int(CEF_CALLBACK* set_child_raw_ptr_library)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_library_child_t* val);
///
// Set an object list vlaue.
///
int (CEF_CALLBACK *set_raw_ptr_library_list)(
struct _cef_translator_test_t* self, size_t valCount,
struct _cef_translator_test_scoped_library_t* const* val, int val1,
int(CEF_CALLBACK* set_raw_ptr_library_list)(
struct _cef_translator_test_t* self,
size_t valCount,
struct _cef_translator_test_scoped_library_t* const* val,
int val1,
int val2);
// CLIENT-SIDE RAWPTR VALUES
///
@ -492,7 +503,8 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_scoped_client_t::get_value(). This tests input and
// execution of a client-side object type.
///
int (CEF_CALLBACK *set_raw_ptr_client)(struct _cef_translator_test_t* self,
int(CEF_CALLBACK* set_raw_ptr_client)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_client_t* val);
///
@ -500,26 +512,26 @@ typedef struct _cef_translator_test_t {
// cef_translator_test_scoped_client_t::get_value(). This tests input of a
// client- side child object type and execution as the parent type.
///
int (CEF_CALLBACK *set_child_raw_ptr_client)(
int(CEF_CALLBACK* set_child_raw_ptr_client)(
struct _cef_translator_test_t* self,
struct _cef_translator_test_scoped_client_child_t* val);
///
// Set an object list vlaue.
///
int (CEF_CALLBACK *set_raw_ptr_client_list)(
struct _cef_translator_test_t* self, size_t valCount,
struct _cef_translator_test_scoped_client_t* const* val, int val1,
int(CEF_CALLBACK* set_raw_ptr_client_list)(
struct _cef_translator_test_t* self,
size_t valCount,
struct _cef_translator_test_scoped_client_t* const* val,
int val1,
int val2);
} cef_translator_test_t;
///
// Create the test object.
///
CEF_EXPORT cef_translator_test_t* cef_translator_test_create();
///
// Library-side test object for RefPtr.
///
@ -532,23 +544,22 @@ typedef struct _cef_translator_test_ref_ptr_library_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_value)(
int(CEF_CALLBACK* get_value)(
struct _cef_translator_test_ref_ptr_library_t* self);
///
// Set a value.
///
void (CEF_CALLBACK *set_value)(
struct _cef_translator_test_ref_ptr_library_t* self, int value);
void(CEF_CALLBACK* set_value)(
struct _cef_translator_test_ref_ptr_library_t* self,
int value);
} cef_translator_test_ref_ptr_library_t;
///
// Create the test object.
///
CEF_EXPORT cef_translator_test_ref_ptr_library_t* cef_translator_test_ref_ptr_library_create(
int value);
CEF_EXPORT cef_translator_test_ref_ptr_library_t*
cef_translator_test_ref_ptr_library_create(int value);
///
// Library-side child test object for RefPtr.
@ -562,23 +573,22 @@ typedef struct _cef_translator_test_ref_ptr_library_child_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_other_value)(
int(CEF_CALLBACK* get_other_value)(
struct _cef_translator_test_ref_ptr_library_child_t* self);
///
// Set a value.
///
void (CEF_CALLBACK *set_other_value)(
struct _cef_translator_test_ref_ptr_library_child_t* self, int value);
void(CEF_CALLBACK* set_other_value)(
struct _cef_translator_test_ref_ptr_library_child_t* self,
int value);
} cef_translator_test_ref_ptr_library_child_t;
///
// Create the test object.
///
CEF_EXPORT cef_translator_test_ref_ptr_library_child_t* cef_translator_test_ref_ptr_library_child_create(
int value, int other_value);
CEF_EXPORT cef_translator_test_ref_ptr_library_child_t*
cef_translator_test_ref_ptr_library_child_create(int value, int other_value);
///
// Another library-side child test object for RefPtr.
@ -592,24 +602,24 @@ typedef struct _cef_translator_test_ref_ptr_library_child_child_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_other_other_value)(
int(CEF_CALLBACK* get_other_other_value)(
struct _cef_translator_test_ref_ptr_library_child_child_t* self);
///
// Set a value.
///
void (CEF_CALLBACK *set_other_other_value)(
void(CEF_CALLBACK* set_other_other_value)(
struct _cef_translator_test_ref_ptr_library_child_child_t* self,
int value);
} cef_translator_test_ref_ptr_library_child_child_t;
///
// Create the test object.
///
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);
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);
///
// Client-side test object for RefPtr.
@ -623,11 +633,10 @@ typedef struct _cef_translator_test_ref_ptr_client_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_value)(
int(CEF_CALLBACK* get_value)(
struct _cef_translator_test_ref_ptr_client_t* self);
} cef_translator_test_ref_ptr_client_t;
///
// Client-side child test object for RefPtr.
///
@ -640,11 +649,10 @@ typedef struct _cef_translator_test_ref_ptr_client_child_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_other_value)(
int(CEF_CALLBACK* get_other_value)(
struct _cef_translator_test_ref_ptr_client_child_t* self);
} cef_translator_test_ref_ptr_client_child_t;
///
// Library-side test object for OwnPtr/RawPtr.
///
@ -657,23 +665,22 @@ typedef struct _cef_translator_test_scoped_library_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_value)(
int(CEF_CALLBACK* get_value)(
struct _cef_translator_test_scoped_library_t* self);
///
// Set a value.
///
void (CEF_CALLBACK *set_value)(
struct _cef_translator_test_scoped_library_t* self, int value);
void(CEF_CALLBACK* set_value)(
struct _cef_translator_test_scoped_library_t* self,
int value);
} cef_translator_test_scoped_library_t;
///
// Create the test object.
///
CEF_EXPORT cef_translator_test_scoped_library_t* cef_translator_test_scoped_library_create(
int value);
CEF_EXPORT cef_translator_test_scoped_library_t*
cef_translator_test_scoped_library_create(int value);
///
// Library-side child test object for OwnPtr/RawPtr.
@ -687,23 +694,22 @@ typedef struct _cef_translator_test_scoped_library_child_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_other_value)(
int(CEF_CALLBACK* get_other_value)(
struct _cef_translator_test_scoped_library_child_t* self);
///
// Set a value.
///
void (CEF_CALLBACK *set_other_value)(
struct _cef_translator_test_scoped_library_child_t* self, int value);
void(CEF_CALLBACK* set_other_value)(
struct _cef_translator_test_scoped_library_child_t* self,
int value);
} cef_translator_test_scoped_library_child_t;
///
// Create the test object.
///
CEF_EXPORT cef_translator_test_scoped_library_child_t* cef_translator_test_scoped_library_child_create(
int value, int other_value);
CEF_EXPORT cef_translator_test_scoped_library_child_t*
cef_translator_test_scoped_library_child_create(int value, int other_value);
///
// Another library-side child test object for OwnPtr/RawPtr.
@ -717,24 +723,24 @@ typedef struct _cef_translator_test_scoped_library_child_child_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_other_other_value)(
int(CEF_CALLBACK* get_other_other_value)(
struct _cef_translator_test_scoped_library_child_child_t* self);
///
// Set a value.
///
void (CEF_CALLBACK *set_other_other_value)(
void(CEF_CALLBACK* set_other_other_value)(
struct _cef_translator_test_scoped_library_child_child_t* self,
int value);
} cef_translator_test_scoped_library_child_child_t;
///
// Create the test object.
///
CEF_EXPORT 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);
CEF_EXPORT 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);
///
// Client-side test object for OwnPtr/RawPtr.
@ -748,11 +754,10 @@ typedef struct _cef_translator_test_scoped_client_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_value)(
int(CEF_CALLBACK* get_value)(
struct _cef_translator_test_scoped_client_t* self);
} cef_translator_test_scoped_client_t;
///
// Client-side child test object for OwnPtr/RawPtr.
///
@ -765,11 +770,10 @@ typedef struct _cef_translator_test_scoped_client_child_t {
///
// Return a value.
///
int (CEF_CALLBACK *get_other_value)(
int(CEF_CALLBACK* get_other_value)(
struct _cef_translator_test_scoped_client_child_t* self);
} cef_translator_test_scoped_client_child_t;
#ifdef __cplusplus
}
#endif