add FFI types _string/utf-16/null and _string/ucs-4/null

svn: r12911

original commit: 7dc56df9499127695e4fc09d754bdd4cdd411fa5
This commit is contained in:
Matthew Flatt 2008-12-19 23:59:33 +00:00
parent 588e3b23a5
commit e73dd4b4af

View File

@ -680,8 +680,9 @@
;; String types
;; The internal _string type uses the native ucs-4 encoding, also providing a
;; utf-16 type (note: these do not use #f as NULL).
(provide _string/ucs-4 _string/utf-16)
;; utf-16 type (note: the non-/null variants do not use #f as NULL).
(provide _string/ucs-4 _string/utf-16
_string/ucs-4/null _string/utf-16/null)
;; 8-bit string encodings, #f is NULL
(define ((false-or-op op) x) (and x (op x)))