Skip to content

Commit 58a018d

Browse files
committed
debug macos
1 parent 3e08a00 commit 58a018d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

binding-generator/src/class.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ impl<'tu, 'ge> Class<'tu, 'ge> {
5858
/// Checks whether a class can be simple on Rust side, i.e. represented by plain struct with public fields
5959
pub fn can_be_simple(&self) -> bool {
6060
let cpp_refname = self.cpp_name(CppNameStyle::Reference);
61+
if cpp_refname.contains("hfloat") {
62+
dbg!(&self.fields());
63+
}
6164
settings::IMPLEMENTED_GENERICS.contains(cpp_refname.as_ref())
6265
|| self.has_fields()
6366
&& !self.has_descendants()

0 commit comments

Comments
 (0)