From d2cba79718785eaf10ee11d661aca3f4ebb20929 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 14 Oct 2002 07:10:19 +0000 Subject: [PATCH] r3010: final sbcl changes before 1.0.0 release --- NEWS | 4 +--- src/objects.lisp | 10 +++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index 35459f3..15937b3 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,3 @@ -UFFI now passes all tests with OpenMCL in Debian. +UFFI now passes all tests with SBCL & OpenMCL in Debian. UFFI now uses ASDF system definition files. - -UFFI now supports OpenMCL along with MCL. diff --git a/src/objects.lisp b/src/objects.lisp index 7826f56..19cb002 100644 --- a/src/objects.lisp +++ b/src/objects.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: objects.lisp,v 1.2 2002/10/14 01:51:15 kevin Exp $ +;;;; $Id: objects.lisp,v 1.3 2002/10/14 07:08:49 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -85,11 +85,11 @@ an array of TYPE with size SIZE. The TYPE parameter is evaluated." ) (defmacro make-null-pointer (type) - #+(or allegro cmu sbcl mcl) (declare (ignore type)) - #+cmu `(system:int-sap 0) - #+sbcl `(sb-sys:int-sap 0) + #+(or allegro mcl) (declare (ignore type)) + #+cmu `(alien:sap-alien (system:int-sap 0) (* ,(convert-from-uffi-type (eval type) :type))) + #+sbcl `(sb-alien:sap-alien (sb-sys:int-sap 0) (* ,(convert-from-uffi-type (eval type) :type))) + #+lispworks `(fli:make-pointer :address 0 :type (quote ,(convert-from-uffi-type (eval type) :type))) #+allegro 0 - #+lispworks `(fli:make-pointer :address 0 :type ,type) #+mcl `(ccl:%null-ptr) ) -- 2.34.1