instead of *mut and *const, & and &const

closes #33
This commit is contained in:
Andrew Kelley
2015-12-14 18:10:25 -07:00
parent 7dd2929185
commit f17e20d5fe
14 changed files with 62 additions and 53 deletions

View File

@@ -2,7 +2,7 @@ export executable "structs";
use "std.zig";
export fn main(argc : isize, argv : *mut *mut u8, env : *mut *mut u8) -> i32 {
export fn main(argc : isize, argv : &&u8, env : &&u8) -> i32 {
let mut foo : Foo;
foo.a = foo.a + 1;