diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2021-12-19 06:24:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-19 00:24:45 -0500 |
| commit | 9f9f215305389c08a21730859982b68bf2681932 (patch) | |
| tree | bbb7ca8488e55f6fa329ae30ae04e6cf7dfe4f06 /src/value.zig | |
| parent | 8468b544e8769b774e2e5988a58c51d991df999a (diff) | |
| download | zig-9f9f215305389c08a21730859982b68bf2681932.tar.gz zig-9f9f215305389c08a21730859982b68bf2681932.zip | |
stage1, stage2: rename c_void to anyopaque (#10316)
zig fmt now replaces c_void with anyopaque to make updating
code easy.
Diffstat (limited to 'src/value.zig')
| -rw-r--r-- | src/value.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/value.zig b/src/value.zig index 5df194d511..e3d315b6e4 100644 --- a/src/value.zig +++ b/src/value.zig @@ -48,7 +48,7 @@ pub const Value = extern union { f32_type, f64_type, f128_type, - c_void_type, + anyopaque_type, bool_type, void_type, type_type, @@ -204,7 +204,7 @@ pub const Value = extern union { .f32_type, .f64_type, .f128_type, - .c_void_type, + .anyopaque_type, .bool_type, .void_type, .type_type, @@ -395,7 +395,7 @@ pub const Value = extern union { .f32_type, .f64_type, .f128_type, - .c_void_type, + .anyopaque_type, .bool_type, .void_type, .type_type, @@ -625,7 +625,7 @@ pub const Value = extern union { .f32_type => return out_stream.writeAll("f32"), .f64_type => return out_stream.writeAll("f64"), .f128_type => return out_stream.writeAll("f128"), - .c_void_type => return out_stream.writeAll("c_void"), + .anyopaque_type => return out_stream.writeAll("anyopaque"), .bool_type => return out_stream.writeAll("bool"), .void_type => return out_stream.writeAll("void"), .type_type => return out_stream.writeAll("type"), @@ -804,7 +804,7 @@ pub const Value = extern union { .f32_type => Type.initTag(.f32), .f64_type => Type.initTag(.f64), .f128_type => Type.initTag(.f128), - .c_void_type => Type.initTag(.c_void), + .anyopaque_type => Type.initTag(.anyopaque), .bool_type => Type.initTag(.bool), .void_type => Type.initTag(.void), .type_type => Type.initTag(.type), |
