Files
Odin/src/test.odin
T
gingerBill f7a669d342 Initial release version
* Code cleanup
* Fix some TODOs
* Reduce heap allocation use and replace with arena allocation
2016-07-09 00:31:57 +01:00

21 lines
262 B
Odin

type Vec2: struct {
x, y: f32;
}
print_string_array :: proc(args: []string) {
args[0] = "";
}
main :: proc() {
x := 0;
thing :: proc(n: int) -> int, f32 {
return n*n, 13.37;
}
thang :: proc(a: int, b: f32, s: string) {
}
thang(thing(1), "Yep");
}