Skip to content

Commit 81e4ff8

Browse files
ssbrcopybara-github
authored andcommitted
Automatic code cleanup.
PiperOrigin-RevId: 778650447 Change-Id: If0cfda297d020de2dbbfb5e444b78316fe18bf97
1 parent a6070ec commit 81e4ff8

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

rs_bindings_from_cc/test/wrapper/impl_ctor/impl_ctor_rs_api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ unsafe impl ::cxx::ExternType for Nontrivial {
3535
type Id = ::cxx::type_id!("Nontrivial");
3636
type Kind = ::cxx::kind::Opaque;
3737
}
38+
forward_declare::unsafe_define!(forward_declare::symbol!("Nontrivial"), crate::Nontrivial);
3839

3940
// Generated from: rs_bindings_from_cc/test/wrapper/impl_ctor/impl_ctor.h;l=10
4041
// Error while generating bindings for item 'Nontrivial::Nontrivial':

rs_bindings_from_cc/test/wrapper/pub_crate_types/pub_crate_types_rs_api.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ unsafe impl ::cxx::ExternType for CompoundDataType {
3535
type Id = ::cxx::type_id!("CompoundDataType");
3636
type Kind = ::cxx::kind::Trivial;
3737
}
38+
forward_declare::unsafe_define!(
39+
forward_declare::symbol!("CompoundDataType"),
40+
crate::CompoundDataType
41+
);
3842

3943
// Generated from: rs_bindings_from_cc/test/wrapper/pub_crate_types/pub_crate_types.h;l=23
4044
// Error while generating bindings for item 'CompoundDataType::CompoundDataType':
@@ -130,6 +134,10 @@ pub(crate) struct __CcTemplateInst9Template2IiE {
130134
}
131135
impl !Send for __CcTemplateInst9Template2IiE {}
132136
impl !Sync for __CcTemplateInst9Template2IiE {}
137+
forward_declare::unsafe_define!(
138+
forward_declare::symbol!("Template2 < int >"),
139+
crate::__CcTemplateInst9Template2IiE
140+
);
133141

134142
// Generated from: rs_bindings_from_cc/test/wrapper/pub_crate_types/other_pub_crate_types.h;l=11
135143
// Error while generating bindings for item 'Template2<int>::Template2<int>':
@@ -166,6 +174,10 @@ pub(crate) struct __CcTemplateInst8TemplateIiE {
166174
}
167175
impl !Send for __CcTemplateInst8TemplateIiE {}
168176
impl !Sync for __CcTemplateInst8TemplateIiE {}
177+
forward_declare::unsafe_define!(
178+
forward_declare::symbol!("Template < int >"),
179+
crate::__CcTemplateInst8TemplateIiE
180+
);
169181

170182
// Generated from: rs_bindings_from_cc/test/wrapper/pub_crate_types/pub_crate_types.h;l=11
171183
// Error while generating bindings for item 'Template<int>::Template<int>':

0 commit comments

Comments
 (0)