Skip to content

Commit

Permalink
std.c (darwin) update to new opaque syntax
Browse files Browse the repository at this point in the history
This was an undetected conflict between

76a1954 and
95a3737
  • Loading branch information
andrewrk committed Oct 9, 2020
1 parent 76a1954 commit a4828f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/c/darwin.zig
Expand Up @@ -23,7 +23,7 @@ pub const COPYFILE_STAT = 1 << 1;
pub const COPYFILE_XATTR = 1 << 2;
pub const COPYFILE_DATA = 1 << 3;

pub const copyfile_state_t = *@Type(.Opaque);
pub const copyfile_state_t = *opaque {};
pub extern "c" fn fcopyfile(from: fd_t, to: fd_t, state: ?copyfile_state_t, flags: u32) c_int;

pub extern "c" fn @"realpath$DARWIN_EXTSN"(noalias file_name: [*:0]const u8, noalias resolved_name: [*]u8) ?[*:0]u8;
Expand Down

0 comments on commit a4828f6

Please sign in to comment.