X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/eb69c5e70fb2cb129915355a81b48f8eb58a56a7..584285fba4d518f8d6f581b542ee6b38650ba287:/gffi/proxy.lisp diff --git a/gffi/proxy.lisp b/gffi/proxy.lisp index b7cdaed..c2c3fbc 100644 --- a/gffi/proxy.lisp +++ b/gffi/proxy.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: proxy.lisp,v 1.2 2006-06-08 13:25:09 espen Exp $ +;; $Id: proxy.lisp,v 1.3 2006-08-16 11:02:45 espen Exp $ (in-package "GFFI") @@ -162,7 +162,7 @@ (defmethod invalidate-instance ((instance proxy) &optional finalize-p) (funcall (instance-finalizer instance))) (slot-makunbound instance 'location) (cancel-finalization instance)) - ;; We can't cached invalidated instances in CLISP beacuse it is + ;; We can't cache invalidated instances in CLISP beacuse it is ;; not possible to cancel finalization #-clisp(cache-invalidated-instance instance)) @@ -242,7 +242,8 @@ (defmethod compute-effective-slot-definition-initargs ((class proxy-class) dir (call-next-method))) - (defmethod compute-slot-reader-function ((slotd effective-alien-slot-definition)) + (defmethod compute-slot-reader-function ((slotd effective-alien-slot-definition) &optional signal-unbound-p) + (declare (ignore signal-unbound-p)) (let* ((type (slot-definition-type slotd)) (offset (slot-definition-offset slotd)) (reader (reader-function type))) @@ -260,7 +261,8 @@ (defmethod compute-slot-writer-function ((slotd effective-alien-slot-definitio (funcall writer value location offset)) value))) - (defmethod compute-slot-reader-function ((slotd effective-virtual-alien-slot-definition)) + (defmethod compute-slot-reader-function ((slotd effective-virtual-alien-slot-definition) &optional signal-unbound-p) + (declare (ignore signal-unbound-p)) (if (and (slot-boundp slotd 'getter) (stringp (slot-definition-getter slotd))) (let ((getter (slot-definition-getter slotd)) (type (slot-definition-type slotd))