| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
`intrinsics.type_convert_variants_to_pointers`
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| |/
|
|
| |
count_leading_zeros}` work at compile time
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
and `\`)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
parameters rather than take a singular struct
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Foo :: struct {
x: i32,
data: sa.Small_Array(10, i32),
}
defaultFoo :: Foo{
x = 1,
// The 'data' value is not set!
}
fmt.println(defaultFoo.data) // caused the bug
|
| | |
|
| |
|
|
| |
struct
|
| |
|
|
| |
:= proc() {}`
|
| |
|
|
| |
return values caused by naïve ABI optimization
|
| |
|
|
| |
Fixes #1226
|
| |
|
|
| |
directly.
|
| |
|
|
| |
This reverts commit 190c3ab0cdc031e45d450e64715452fb2e576d1e.
|
| | |
|
| |
|
|
|
| |
// global
x := &Foo{}
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
`reflect.get_union_as_ptr_variants`
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This allows for condition inclusion of files, similar to `+build` or `ODIN_BUILD`, but relies on the directory name of the project to be the same as specified
Example:
odin build foo/bar/baz
ODIN_BUILD_PROJECT_NAME == "baz"
//+build_project_name baz
|
| | |
|
| | |
|
| | |
|
| | |
|