From c97f28462cb9499b4687b9d0fd969b3e9fbd6ca2 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Thu, 21 Mar 2002 19:47:20 +0000 Subject: [PATCH] r1614: Improved with-foreign-object --- benchmarks/allocation.cl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/benchmarks/allocation.cl b/benchmarks/allocation.cl index 6be7bf9..caebce2 100644 --- a/benchmarks/allocation.cl +++ b/benchmarks/allocation.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Mar 2002 ;;;; -;;;; $Id: allocation.cl,v 1.2 2002/03/21 14:49:14 kevin Exp $ +;;;; $Id: allocation.cl,v 1.3 2002/03/21 19:47:20 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -29,7 +29,8 @@ (setf (fli:dereference ptr) 0)) #+cmu (alien:with-alien ((ptr alien:signed)) - (setf ptr 0)) + (let ((p (alien:addr ptr))) + (setf (alien:deref p) 0))) ) (defun stk-vector () @@ -103,5 +104,7 @@ ) +(stk-vs-stat) + -- 2.34.1