Skip to content

Commit f4812d4

Browse files
bilelmoussaouisdroege
authored andcommitted
analysis: Support more target dependant types
Fixes #1605
1 parent c9436d4 commit f4812d4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: src/analysis/rust_type.rs

+8
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,14 @@ impl<'env> RustTypeBuilder<'env> {
275275
Long => ok_and_use("libc::c_long"), // depends of target system
276276
ULong => ok_and_use("libc::c_ulong"), // depends of target system
277277

278+
TimeT => ok_and_use("libc::time_t"), // depends of target system
279+
OffT => ok_and_use("libc::off_t"), // depends of target system
280+
DevT => ok_and_use("libc::dev_t"), // depends of target system
281+
GidT => ok_and_use("libc::gid_t"), // depends of target system
282+
PidT => ok_and_use("libc::pid_t"), // depends of target system
283+
SockLenT => ok_and_use("libc::socklen_t"), // depends of target system
284+
UidT => ok_and_use("libc::uid_t"), // depends of target system
285+
278286
Size => ok("usize"), // depends of target system
279287
SSize => ok("isize"), // depends of target system
280288

0 commit comments

Comments
 (0)