Working on Gambit implementation

This commit is contained in:
retropikzel 2025-03-21 07:30:16 +02:00
parent a9e1088151
commit 7d39b4ee78
3 changed files with 6 additions and 6 deletions

View File

@ -88,3 +88,7 @@ clean:
find . -name "core.1" -delete
find . -name "*@gambit*" -delete
rm -rf retropikzel/pffi.c
rm -rf tests/compliance.c
rm -rf tests/compliance.o
rm -rf tests/compliance.so
rm -rf tests/compliance

View File

@ -135,7 +135,7 @@
(scheme char)
(scheme file)
(scheme process-context)
(only (gambit) c-declare c-lambda c-define))
(only (gambit) c-declare c-lambda c-define define-macro))
(export pffi-init
pffi-size-of
pffi-type?

View File

@ -88,11 +88,7 @@
res)))
(cond-expand
(gambit
(define-macro
(pffi-load headers object-name options)
`(pffi-shared-object-load ,(car headers))))
(gambit #t)
((or chicken cyclone)
(define-syntax pffi-load
(syntax-rules ()