2024-11-05 17:14:13 -06:00
|
|
|
/*
|
2024-11-04 00:51:24 -06:00
|
|
|
S :: struct {
|
|
|
|
a: integer,
|
|
|
|
b: glyph,
|
|
|
|
c: real,
|
|
|
|
}
|
|
|
|
|
2024-11-04 17:03:56 -06:00
|
|
|
s := foo(S{a: 1, b: 'a', c: 1.0}, 2);
|
2024-11-04 00:51:24 -06:00
|
|
|
|
|
|
|
foo :: (s: S, a: integer) -> S {
|
|
|
|
return s;
|
|
|
|
}
|
2024-11-05 17:14:13 -06:00
|
|
|
*/
|
|
|
|
|
|
|
|
S :: struct { a, b, c: real }
|
|
|
|
|
2024-11-04 00:51:24 -06:00
|
|
|
|
|
|
|
|