mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
add main scope
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user