mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
Add @(rodata) and @(static, rodata) where appropriate
This commit is contained in:
@@ -389,6 +389,7 @@ is_leap_year :: proc "contextless" (year: int) -> (leap: bool) {
|
||||
return year % 4 == 0 && (year % 100 != 0 || year % 400 == 0)
|
||||
}
|
||||
|
||||
@(rodata)
|
||||
days_before := [?]i32{
|
||||
0,
|
||||
31,
|
||||
|
||||
Reference in New Issue
Block a user