compat: be more compatible with sbcl

This commit is contained in:
Daniel Kochmański 2016-11-09 21:43:48 +01:00
parent 14306cba69
commit adbbcde3a8

View file

@ -293,13 +293,15 @@ If PACKAGE is non-NIL, then only the specified PACKAGE is searched."
(ffi:c-inline (package) (:object) :void
"(#0)->pack.locked = 1"
:side-effects t
:one-liner t))
:one-liner t)
T)
(defun unlock-package (package &aux (package (si:coerce-to-package package)))
(ffi:c-inline (package) (:object) :void
"(#0)->pack.locked = 0"
:side-effects t
:one-liner t))
:one-liner t)
T)
(defun package-locked-p (package &aux (package (si:coerce-to-package package)))
"Returns T when PACKAGE is locked, NIL otherwise. Signals an error