add main scope

This commit is contained in:
Colin Davidson
2023-03-09 16:34:43 -08:00
parent 6f4f2754d6
commit 2334dadb6a
+2
View File
@@ -16,6 +16,8 @@ main :: proc() {
spall_buffer = spall.buffer_create(buffer_backing)
defer spall.buffer_destroy(&spall_ctx, &spall_buffer)
spall.SCOPED_EVENT(&spall_ctx, &spall_buffer, #procedure)
for i := 0; i < 9001; i += 1 {
foo()
}