| ... | @@ -951,7 +951,7 @@ pub fn addCases(ctx: *TestContext) !void { | ... | @@ -951,7 +951,7 @@ pub fn addCases(ctx: *TestContext) !void { |
| 951 | ctx.h("simple header", linux_x64, | 951 | ctx.h("simple header", linux_x64, |
| 952 | \\export fn start() void{} | 952 | \\export fn start() void{} |
| 953 | , | 953 | , |
| 954 | \\zig_extern zig_void start(zig_void); | 954 | \\zig_extern void start(void); |
| 955 | \\ | 955 | \\ |
| 956 | ); | 956 | ); |
| 957 | ctx.h("header with single param function", linux_x64, | 957 | ctx.h("header with single param function", linux_x64, |
| ... | @@ -959,7 +959,7 @@ pub fn addCases(ctx: *TestContext) !void { | ... | @@ -959,7 +959,7 @@ pub fn addCases(ctx: *TestContext) !void { |
| 959 | \\ _ = a; | 959 | \\ _ = a; |
| 960 | \\} | 960 | \\} |
| 961 | , | 961 | , |
| 962 | \\zig_extern zig_void start(zig_u8 const a0); | 962 | \\zig_extern void start(zig_u8 const a0); |
| 963 | \\ | 963 | \\ |
| 964 | ); | 964 | ); |
| 965 | ctx.h("header with multiple param function", linux_x64, | 965 | ctx.h("header with multiple param function", linux_x64, |
| ... | @@ -967,25 +967,25 @@ pub fn addCases(ctx: *TestContext) !void { | ... | @@ -967,25 +967,25 @@ pub fn addCases(ctx: *TestContext) !void { |
| 967 | \\ _ = a; _ = b; _ = c; | 967 | \\ _ = a; _ = b; _ = c; |
| 968 | \\} | 968 | \\} |
| 969 | , | 969 | , |
| 970 | \\zig_extern zig_void start(zig_u8 const a0, zig_u8 const a1, zig_u8 const a2); | 970 | \\zig_extern void start(zig_u8 const a0, zig_u8 const a1, zig_u8 const a2); |
| 971 | \\ | 971 | \\ |
| 972 | ); | 972 | ); |
| 973 | ctx.h("header with u32 param function", linux_x64, | 973 | ctx.h("header with u32 param function", linux_x64, |
| 974 | \\export fn start(a: u32) void{ _ = a; } | 974 | \\export fn start(a: u32) void{ _ = a; } |
| 975 | , | 975 | , |
| 976 | \\zig_extern zig_void start(zig_u32 const a0); | 976 | \\zig_extern void start(zig_u32 const a0); |
| 977 | \\ | 977 | \\ |
| 978 | ); | 978 | ); |
| 979 | ctx.h("header with usize param function", linux_x64, | 979 | ctx.h("header with usize param function", linux_x64, |
| 980 | \\export fn start(a: usize) void{ _ = a; } | 980 | \\export fn start(a: usize) void{ _ = a; } |
| 981 | , | 981 | , |
| 982 | \\zig_extern zig_void start(zig_usize const a0); | 982 | \\zig_extern void start(zig_usize const a0); |
| 983 | \\ | 983 | \\ |
| 984 | ); | 984 | ); |
| 985 | ctx.h("header with bool param function", linux_x64, | 985 | ctx.h("header with bool param function", linux_x64, |
| 986 | \\export fn start(a: bool) void{_ = a;} | 986 | \\export fn start(a: bool) void{_ = a;} |
| 987 | , | 987 | , |
| 988 | \\zig_extern zig_void start(zig_bool const a0); | 988 | \\zig_extern void start(zig_bool const a0); |
| 989 | \\ | 989 | \\ |
| 990 | ); | 990 | ); |
| 991 | ctx.h("header with noreturn function", linux_x64, | 991 | ctx.h("header with noreturn function", linux_x64, |
| ... | @@ -993,7 +993,7 @@ pub fn addCases(ctx: *TestContext) !void { | ... | @@ -993,7 +993,7 @@ pub fn addCases(ctx: *TestContext) !void { |
| 993 | \\ unreachable; | 993 | \\ unreachable; |
| 994 | \\} | 994 | \\} |
| 995 | , | 995 | , |
| 996 | \\zig_extern zig_noreturn start(zig_void); | 996 | \\zig_extern zig_noreturn start(void); |
| 997 | \\ | 997 | \\ |
| 998 | ); | 998 | ); |
| 999 | ctx.h("header with multiple functions", linux_x64, | 999 | ctx.h("header with multiple functions", linux_x64, |
| ... | @@ -1001,15 +1001,15 @@ pub fn addCases(ctx: *TestContext) !void { | ... | @@ -1001,15 +1001,15 @@ pub fn addCases(ctx: *TestContext) !void { |
| 1001 | \\export fn b() void{} | 1001 | \\export fn b() void{} |
| 1002 | \\export fn c() void{} | 1002 | \\export fn c() void{} |
| 1003 | , | 1003 | , |
| 1004 | \\zig_extern zig_void a(zig_void); | 1004 | \\zig_extern void a(void); |
| 1005 | \\zig_extern zig_void b(zig_void); | 1005 | \\zig_extern void b(void); |
| 1006 | \\zig_extern zig_void c(zig_void); | 1006 | \\zig_extern void c(void); |
| 1007 | \\ | 1007 | \\ |
| 1008 | ); | 1008 | ); |
| 1009 | ctx.h("header with multiple includes", linux_x64, | 1009 | ctx.h("header with multiple includes", linux_x64, |
| 1010 | \\export fn start(a: u32, b: usize) void{ _ = a; _ = b; } | 1010 | \\export fn start(a: u32, b: usize) void{ _ = a; _ = b; } |
| 1011 | , | 1011 | , |
| 1012 | \\zig_extern zig_void start(zig_u32 const a0, zig_usize const a1); | 1012 | \\zig_extern void start(zig_u32 const a0, zig_usize const a1); |
| 1013 | \\ | 1013 | \\ |
| 1014 | ); | 1014 | ); |
| 1015 | } | 1015 | } |