File tree Expand file tree Collapse file tree 5 files changed +8
-13
lines changed
Expand file tree Collapse file tree 5 files changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,9 @@ github_com_goplus_llgo__demo_go_export_init(void) GO_SYMBOL_RENAME("github.com/g
279279void
280280github_com_goplus_llgo_runtime_abi_init(void) GO_SYMBOL_RENAME("github.com/goplus/llgo/runtime/abi.init")
281281
282+ void
283+ github_com_goplus_llgo_runtime_internal_clite_init(void) GO_SYMBOL_RENAME("github.com/goplus/llgo/runtime/internal/clite.init")
284+
282285void
283286github_com_goplus_llgo_runtime_internal_clite_bdwgc_init(void) GO_SYMBOL_RENAME("github.com/goplus/llgo/runtime/internal/clite/bdwgc.init")
284287
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ import (
2020 "unsafe"
2121)
2222
23+ const (
24+ // we want to execute init(), link / decl skips executing init()
25+ LLGoPackage = true
26+ )
27+
2328type (
2429 Void = [0 ]byte
2530 Char = int8
Original file line number Diff line number Diff line change @@ -22,11 +22,6 @@ import (
2222 _ "unsafe"
2323)
2424
25- const (
26- // we want to execute init(), link / decl skips executing init()
27- LLGoPackage = true
28- )
29-
3025var Stdin FilePtr = Fopen (Str ("/dev/stdin" ), Str ("r" ))
3126var Stdout FilePtr = Fopen (Str ("/dev/stdout" ), Str ("w" ))
3227var Stderr FilePtr = Stdout
Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ package c
2121
2222import _ "unsafe"
2323
24- const (
25- LLGoPackage = "decl"
26- )
27-
2824//go:linkname Stdin __stdinp
2925var Stdin FilePtr
3026
Original file line number Diff line number Diff line change @@ -20,10 +20,6 @@ package c
2020
2121import _ "unsafe"
2222
23- const (
24- LLGoPackage = "decl"
25- )
26-
2723//go:linkname Stdin stdin
2824var Stdin FilePtr
2925
You can’t perform that action at this time.
0 commit comments