Compare commits

..
2 Commits
Author SHA1 Message Date
simonkellet 8c78162363 added new ignore 2026-10-10 14:52:14 +01:00
Simon Kellet 0d2b4002ef fixes 2026-08-12 18:41:55 +01:00
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -2,3 +2,4 @@
*sublime-project
*sublime-workspace
flags
*.dSYM
+1 -2
View File
@@ -70,7 +70,6 @@ init_custom_allocator :: proc(allocator: runtime.Allocator) {
}
destroy :: proc() {
free_all(flag_allocator)
delete(all_flags)
all_flags = {}
}
@@ -144,7 +143,7 @@ Int32Var :: proc(ptr: ^i32, name: string, default: i32, usage: string, required
Int64Var :: proc(ptr: ^i64, name: string, default: i64, usage: string, required := false) {
if ptr == nil {
fmt.fprintfln(os.stderr, "[ERROR]: Invalid usage of Int32Var: got nil for 'ptr' value!")
fmt.fprintfln(os.stderr, "[ERROR]: Invalid usage of Int64Var: got nil for 'ptr' value!")
os.exit(1)
}
ptr^ = default