* libguardians librarified
This commit is contained in:
parent
c3839a721d
commit
f4b0668ebb
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -2,8 +2,10 @@
|
|||
;;; The procedure make-guardian is coped en verbatim
|
||||
;;; from Dybvig et al. Guardians paper.
|
||||
|
||||
(let ()
|
||||
(define make-guardian
|
||||
(library (ikarus guardians)
|
||||
(export)
|
||||
(import (scheme))
|
||||
(primitive-set! 'make-guardian
|
||||
(lambda ()
|
||||
(let ([tc
|
||||
(let ([x (cons #f #f)])
|
||||
|
@ -19,5 +21,4 @@
|
|||
y)))]
|
||||
[(obj)
|
||||
(foreign-call "ikrt_register_guardian" tc obj)
|
||||
(void)]))))
|
||||
(primitive-set! 'make-guardian make-guardian))
|
||||
(void)])))))
|
||||
|
|
Loading…
Reference in New Issue