mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Use const & for Array<AstNode *> parameters
This commit is contained in:
@@ -18,6 +18,7 @@ import "core:c"
|
||||
|
||||
when os.OS == "windows" {
|
||||
import "core:atomics"
|
||||
import "core:sync"
|
||||
import "core:thread"
|
||||
import "core:sys/win32"
|
||||
}
|
||||
@@ -737,14 +738,6 @@ deprecated_attribute :: proc() {
|
||||
// foo_v1(1);
|
||||
}
|
||||
|
||||
A :: struct {x, y, z: int};
|
||||
B :: struct {x, y, z: int};
|
||||
C :: struct {
|
||||
using a: A,
|
||||
b: B,
|
||||
}
|
||||
|
||||
|
||||
main :: proc() {
|
||||
when true {
|
||||
general_stuff();
|
||||
|
||||
Reference in New Issue
Block a user