Skip to content

Commit

Permalink
Revert type_gen.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
evahop committed Sep 26, 2023
1 parent 6ed9e9f commit 6c2bbfd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/front/type_gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ impl crate::Module {
);

crate::Type {
name: Some(format!("_atomic_compare_exchange_result<{kind:?},{width}>")),
name: Some(format!(
"__atomic_compare_exchange_result<{kind:?},{width}>"
)),
inner: crate::TypeInner::Struct {
members: vec![
crate::StructMember {
Expand Down Expand Up @@ -346,7 +348,7 @@ impl crate::Module {
(float_ty, width as u32)
};

let mut type_name = "_modf_result_".to_string();
let mut type_name = "__modf_result_".to_string();
if let Some(size) = size {
let _ = write!(type_name, "vec{}_", size as u8);
}
Expand Down Expand Up @@ -424,7 +426,7 @@ impl crate::Module {
(float_ty, int_ty, width as u32)
};

let mut type_name = "_frexp_result_".to_string();
let mut type_name = "__frexp_result_".to_string();
if let Some(size) = size {
let _ = write!(type_name, "vec{}_", size as u8);
}
Expand Down

0 comments on commit 6c2bbfd

Please sign in to comment.