Skip to content

Commit 79bbb43

Browse files
committed
add type for unsafe-bytes-copy!
1 parent 3cae389 commit 79bbb43

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

typed-racket-lib/info.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(define collection 'multi)
44

5-
(define deps '(("base" #:version "7.3.0.11")
5+
(define deps '(("base" #:version "7.5.0.15")
66
"source-syntax"
77
"pconvert-lib"
88
"compatibility-lib" ;; to assign types

typed-racket-lib/typed-racket/base-env/base-env-indexing-abs.rkt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@
300300
[unsafe-bytes-set! (-> -Bytes index-type index-type -Void)]
301301
[subbytes (cl-> [(-Bytes index-type) -Bytes] [(-Bytes index-type index-type) -Bytes])]
302302
[bytes-copy! (-Bytes index-type -Bytes [index-type index-type] . ->opt . -Void)]
303+
[unsafe-bytes-copy! (-Bytes index-type -Bytes [index-type index-type] . ->opt . -Void)]
303304
[bytes-fill! (-> -Bytes index-type -Void)]
304305
[bytes->string/utf-8 (-Bytes [(Un (-val #f) -Char) index-type index-type] . ->opt . -String)]
305306
[bytes->string/locale (-Bytes [(Un (-val #f) -Char) index-type index-type] . ->opt . -String)]

0 commit comments

Comments
 (0)