mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
c05a20fc8c
The proposal #9629 is now accepted, usingnamespace stays but no longer puts identifiers in scope.
13 lines
304 B
Zig
13 lines
304 B
Zig
const std = @import("std");
|
|
const maxInt = std.math.maxInt;
|
|
|
|
pub const pthread_mutex_t = extern struct {
|
|
inner: usize = ~@as(usize, 0),
|
|
};
|
|
pub const pthread_cond_t = extern struct {
|
|
inner: usize = ~@as(usize, 0),
|
|
};
|
|
pub const pthread_rwlock_t = extern struct {
|
|
ptr: usize = maxInt(usize),
|
|
};
|