fix c hello world example
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const c = @c_import(@c_include("stdio.h"));
|
||||
const c = @cImport(@cInclude("stdio.h"));
|
||||
|
||||
export fn main(argc: c_int, argv: &&u8) -> c_int {
|
||||
c.printf(c"Hello, world!\n");
|
||||
|
||||
Reference in New Issue
Block a user