mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 05:08:14 +00:00
Basic when statement - Compile time if statement
This is similar to an #if in C but handled during the semantic checking stage.
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ Context :: struct #ordered {
|
||||
#thread_local __context: Context
|
||||
|
||||
|
||||
DEFAULT_ALIGNMENT :: align_of({4}f32)
|
||||
DEFAULT_ALIGNMENT :: align_of([vector 4]f32)
|
||||
|
||||
|
||||
__check_context :: proc() {
|
||||
|
||||
Reference in New Issue
Block a user