diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-12-14 02:46:37 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-12-14 02:46:37 -0700 |
| commit | e411467e1dd4557bb11698f2a5d979dfcbaea444 (patch) | |
| tree | 8b9bf14a1dee5310a8e18099fc354e1b9b1d2152 /example/multiple_files/libc.zig | |
| parent | 3d8eb10897a86b2616c6a1aa843b7ebe4134ac51 (diff) | |
| download | zig-e411467e1dd4557bb11698f2a5d979dfcbaea444.tar.gz zig-e411467e1dd4557bb11698f2a5d979dfcbaea444.zip | |
add number literal type
it gets implicitly casted to whatever is needed.
closes #24
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 19c1106fd6..e2a048b46c 100644 --- a/example/multiple_files/libc.zig +++ b/example/multiple_files/libc.zig @@ -1,5 +1,5 @@ #link("c") extern { - pub fn puts(s: *mut u8) -> i32; + pub fn puts(s: *const u8) -> i32; pub fn exit(code: i32) -> unreachable; } |
