projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90dfdc9
)
runtime/ffi.scm: Missed guarantee-string -> guarantee bytevector?.
author
Matt Birkholz
<matt@birchwood-abbey.net>
Fri, 24 Feb 2017 23:17:13 +0000
(16:17 -0700)
committer
Matt Birkholz
<matt@birchwood-abbey.net>
Fri, 24 Feb 2017 23:17:13 +0000
(16:17 -0700)
src/runtime/ffi.scm
patch
|
blob
|
history
diff --git
a/src/runtime/ffi.scm
b/src/runtime/ffi.scm
index d03c93cf722d5a67343d1297d3063a9f2991e31e..c3f51eae89ee8743c6d937312910184f859294eb 100644
(file)
--- a/
src/runtime/ffi.scm
+++ b/
src/runtime/ffi.scm
@@
-329,7
+329,7
@@
USA.
(define (c-poke-string! alien bytevector)
;; Like c-poke-string, but increments ALIEN past the terminating null byte.
- (guarantee
-string
bytevector 'C-POKE-STRING!)
+ (guarantee
bytevector?
bytevector 'C-POKE-STRING!)
((ucode-primitive c-poke-string! 3) alien 0 bytevector))
(define-integrable (c-poke-bytes alien offset count buffer start)