diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-12-14 18:10:25 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-12-14 18:10:25 -0700 |
| commit | f17e20d5fefeb9ce30a08e85c10b9449cf672112 (patch) | |
| tree | 2907eae05aca64bbab1e7ca0c9c526c1f204848d /example/multiple_files/libc.zig | |
| parent | 7dd29291853a30973c19867385514b6d807cb644 (diff) | |
| download | zig-f17e20d5fefeb9ce30a08e85c10b9449cf672112.tar.gz zig-f17e20d5fefeb9ce30a08e85c10b9449cf672112.zip | |
instead of *mut and *const, & and &const
closes #33
Diffstat (limited to 'example/multiple_files/libc.zig')
| -rw-r--r-- | example/multiple_files/libc.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/multiple_files/libc.zig b/example/multiple_files/libc.zig index e2a048b46c..274dab7e39 100644 --- a/example/multiple_files/libc.zig +++ b/example/multiple_files/libc.zig @@ -1,5 +1,5 @@ #link("c") extern { - pub fn puts(s: *const u8) -> i32; + pub fn puts(s: &const u8) -> i32; pub fn exit(code: i32) -> unreachable; } |
