mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 20:00:09 +00:00
Interpreter - Structs and Arrays
This commit is contained in:
@@ -4,6 +4,28 @@
|
||||
#import "fmt.odin"
|
||||
#import "mem.odin"
|
||||
|
||||
Optimization_Level :: enum {
|
||||
DEBUG,
|
||||
RELEASE,
|
||||
}
|
||||
|
||||
Bounds_Check_Mode :: enum {
|
||||
ON,
|
||||
OFF,
|
||||
}
|
||||
|
||||
Build_Options :: struct {
|
||||
optimization_level: Optimization_Level
|
||||
|
||||
bounds_check: Bounds_Check_Mode
|
||||
|
||||
output_name: string
|
||||
output_path: string
|
||||
}
|
||||
|
||||
build_options: Build_Options
|
||||
|
||||
|
||||
// IMPORTANT NOTE(bill): Do not change the order of any of this data
|
||||
// The compiler relies upon this _exact_ order
|
||||
Type_Info :: union {
|
||||
|
||||
Reference in New Issue
Block a user