mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-13 07:47:39 +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"
|
", c_" (lib:name->string lib-name) "_entry_pt"
|
||||||
", &" prev-clo ");")
|
", &" prev-clo ");")
|
||||||
)
|
)
|
||||||
required-libs)
|
(reverse required-libs)) ;; Init each lib's dependencies 1st
|
||||||
(emit*
|
(emit*
|
||||||
;; Start cont chain, but do not assume funcall1 macro was defined
|
;; Start cont chain, but do not assume funcall1 macro was defined
|
||||||
"(" this-clo ".fn)(0, &" this-clo ", &" this-clo ");")
|
"(" this-clo ".fn)(0, &" this-clo ", &" this-clo ");")
|
||||||
|
|
Loading…
Add table
Reference in a new issue