Working towards snow-fort release

This commit is contained in:
2025-06-27 16:27:50 +03:00
parent 6850991604
commit fde1349ff8
10 changed files with 72 additions and 23 deletions
+5
View File
@@ -2,6 +2,11 @@
(scheme write)
(foreign c))
(define-c-library libc
'("stdlib.h" "stdio.h" "string.h")
libc-name
'((additional-versions ("0" "6"))))
(define-c-procedure c-puts libc 'puts 'int '(pointer))
(c-puts (string->c-utf8 "Hello from C!"))
+10
View File
@@ -5,6 +5,16 @@
(scheme process-context)
(foreign c))
(display "libc-name:" )
(display libc-name)
(newline)
(define-c-library libc
'("stdlib.h" "stdio.h" "string.h")
libc-name
'((additional-versions ("0" "6"))))
;; util
(define header-count 1)