Add @(rodata) and @(static, rodata) where appropriate
This commit is contained in:
1 parent
bea47db495
commit
3a9b86628a
13 files changed
+43
-32
No files matched your search
@@ -111,7 +111,7 @@ next_random :: proc(r: ^[2]u64) -> u64 {
|
||||
|
||||
@(require_results)
|
||||
random_string :: proc(buf: []byte) -> string {
|
||||
@static digits := "0123456789"
|
||||
@(static, rodata) digits := "0123456789"
|
||||
|
||||
u := next_random(&random_string_seed)
|
||||
|
||||
|
||||
Reference in new issue
Block a user