Skip to content

Commit

Permalink
analysis: Support more target dependant types
Browse files Browse the repository at this point in the history
Fixes #1605
  • Loading branch information
bilelmoussaoui committed Nov 2, 2024
1 parent e9ff881 commit e105dba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/analysis/rust_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,14 @@ impl<'env> RustTypeBuilder<'env> {
Long => ok_and_use("libc::c_long"), // depends of target system
ULong => ok_and_use("libc::c_ulong"), // depends of target system

TimeT => ok_and_use("libc::time_t"), // depends of target system
OffT => ok_and_use("libc::off_t"), // depends of target system
DevT => ok_and_use("libc::dev_t"), // depends of target system
GidT => ok_and_use("libc::gid_t"), // depends of target system
PidT => ok_and_use("libc::pid_t"), // depends of target system
SockLenT => ok_and_use("libc::socklen_t"), // depends of target system
UidT => ok_and_use("libc::uid_t"), // depends of target system

Size => ok("usize"), // depends of target system
SSize => ok("isize"), // depends of target system

Expand Down

0 comments on commit e105dba

Please sign in to comment.