Permalink
Browse files

nmosh ffi box: add unsigned ref

  • Loading branch information...
1 parent 119a961 commit 05d0a9c2bd114ac4027369b6b7a52c607833522d @okuoku committed Mar 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/nmosh/ffi/box.mosh.sls
@@ -6,6 +6,7 @@
ptr-box-set!
make-int-box
int-box-ref
+ int-box-ref-unsigned
int-box-set!
make-ptr-array
ptr-array-set!
@@ -74,6 +75,7 @@
(define make-int-box (sel32/64 size-of-int make-box-32 make-box-64))
(define int-box-ref (sel32/64 size-of-int box-32-ref-signed box-64-ref-signed))
+(define int-box-ref-unsigned (sel32/64 size-of-int box-32-ref box-64-ref))
(define int-box-set! (sel32/64 size-of-int box-32-set!-signed box-64-set!-signed))
(define make-ptr-array (sel32/64 size-of-void* make-array-32 make-array-64))

0 comments on commit 05d0a9c

Please sign in to comment.