Skip to content

Commit

Permalink
Allow dead_code on s_paren!
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jan 6, 2024
1 parent e673aaa commit 38c9d43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/psp.rs
Expand Up @@ -1382,15 +1382,18 @@ s_paren! {
pub struct SceUid(pub i32);

#[repr(transparent)]
#[allow(dead_code)]
pub struct SceMpeg(*mut *mut c_void);

#[repr(transparent)]
#[allow(dead_code)]
pub struct SceMpegStream(*mut c_void);

#[repr(transparent)]
pub struct Mp3Handle(pub i32);

#[repr(transparent)]
#[allow(dead_code)]
pub struct RegHandle(u32);
}

Expand Down
1 change: 1 addition & 0 deletions src/wasi.rs
Expand Up @@ -65,6 +65,7 @@ s_paren! {
// in wasi-libc clockid_t is const struct __clockid* (where __clockid is an opaque struct),
// but that's an implementation detail that we don't want to have to deal with
#[repr(transparent)]
#[allow(dead_code)]
pub struct clockid_t(*const u8);
}

Expand Down

0 comments on commit 38c9d43

Please sign in to comment.