Added pffi-pointer-address for sagittarius

This commit is contained in:
retropikzel 2024-10-13 07:08:52 +03:00
parent 1b285c7204
commit fe373d0fb7
4 changed files with 5 additions and 6 deletions

View File

@ -62,12 +62,6 @@ test-stklos:
docker build . --build-arg IMPLEMENTATION=stklos -f Dockerfile --tag=r7rs-pffi-stklos
docker run -it -v ${PWD}:/workdir r7rs-pffi-stklos bash -c "cd /workdir && ${STKLOS} test.scm"
CHIBI=chibi-scheme
CHIBI_STUB=chibi-ffi
test-chibi:
docker build . --build-arg IMPLEMENTATION=chibi -f Dockerfile --tag=r7rs-pffi-chibi
docker run -it -v ${PWD}:/workdir r7rs-pffi-chibi bash -c "cd /workdir && ${CHIBI_STUB} retropikzel/r7rs-pffi/chibi.stub"
documentation:
cat README.md > docs/index.md
mkdocs build

View File

@ -75,6 +75,7 @@
pffi-define-callback
pffi-size-of
pffi-pointer-allocate
pffi-pointer-address
pffi-pointer-null
pffi-string->pointer
pffi-pointer->string

View File

@ -73,6 +73,10 @@
(lambda (size)
(c-malloc size)))
(define pffi-pointer-address
(lambda (pointer)
(address pointer)))
(define pffi-pointer-null
(lambda ()
(empty-pointer)))

BIN
test

Binary file not shown.