Commit8a7002d4Recorded25 Feb 2026Repositorysigil-app
Add procedure specs to app and css packages
Changed
src/sigil/app.sgl | 2 ++
1 file changed, 2 insertions(+)Diff
src/sigil/app.sglmodified
@@ -49,6 +49,7 @@
49
50
;; Yield point - returns delta time when resumed 51
(define (wait-frame)+52
(: -> any?) 53
(send 'frame-complete)) 54
55
;; Internal frame callback - resumes the game coroutine@@ -78,6 +79,7 @@
79
;; Run a game with the coroutine-based loop 80
;; game-thunk is called inside a coroutine and can use (wait-frame) 81
(define (run-game title width height game-thunk)+82
(: string? integer? integer? procedure? -> void?) 83
;; Store the thunk for the init callback 84
(set! *game-thunk* game-thunk) 85