mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-12 23:37:38 +02:00
Ensure libraries are initialized in the right order
This commit is contained in:
parent
ad9f8aabb8
commit
23096cd3b5
1 changed files with 1 additions and 1 deletions
2
cgen.scm
2
cgen.scm
|
@ -1074,7 +1074,7 @@
|
|||
", c_" (lib:name->string lib-name) "_entry_pt"
|
||||
", &" prev-clo ");")
|
||||
)
|
||||
required-libs)
|
||||
(reverse required-libs)) ;; Init each lib's dependencies 1st
|
||||
(emit*
|
||||
;; Start cont chain, but do not assume funcall1 macro was defined
|
||||
"(" this-clo ".fn)(0, &" this-clo ", &" this-clo ");")
|
||||
|
|
Loading…
Add table
Reference in a new issue