Fixing Mosh

This commit is contained in:
retropikzel 2025-07-26 09:18:28 +03:00
parent a7632ba80e
commit af7d7ae281
1 changed files with 4 additions and 2 deletions

View File

@ -102,8 +102,10 @@
(chibi #t) (chibi #t)
(gauche (define c-null? pointer-null?)) (gauche (define c-null? pointer-null?))
(mosh (define c-null? (mosh (define c-null?
(lambda (pointer) (and (c-bytevector? pointer) (lambda (pointer)
(pointer-null? pointer))))) (if (c-bytevector? pointer)
(pointer-null? pointer)
#f))))
(else (define c-null? (else (define c-null?
(lambda (pointer) (lambda (pointer)
(display "HERE123: ") (display "HERE123: ")