change _string/utf-16 and _string/ucs-4 so that #f = NULL (for consistency with other pointer types), and drop the /null variants
svn: r13031 original commit: 0663588ee1f03c92ad6d4d0956a293d43e6f266d
This commit is contained in:
parent
42e6044cd4
commit
365bc53e44
|
@ -695,9 +695,8 @@
|
|||
;; String types
|
||||
|
||||
;; The internal _string type uses the native ucs-4 encoding, also providing a
|
||||
;; 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)
|
||||
;; utf-16 type
|
||||
(provide _string/ucs-4 _string/utf-16)
|
||||
|
||||
;; 8-bit string encodings, #f is NULL
|
||||
(define ((false-or-op op) x) (and x (op x)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user