r2259: *** empty log message ***
[uffi.git] / examples / arrays.cl
index e9bbbaaea7cd45a18370f348c928515d4b9b6a61..668171c61d7fc3e5abd1de1ce15c0333ea26ffc1 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Mar 2002
 ;;;;
-;;;; $Id: arrays.cl,v 1.1 2002/03/21 07:56:45 kevin Exp $
+;;;; $Id: arrays.cl,v 1.3 2002/04/02 21:29:45 kevin Exp $
 ;;;;
 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -33,7 +33,7 @@
 
 (defun test-array-2d ()
   "Tests 2d array"
-  (let ((a (uffi:allocate-foreign-object (* :long) +row-length+)))
+  (let ((a (uffi:allocate-foreign-object '(* :long) +row-length+)))
     (dotimes (r +row-length+)
       (declare (fixnum r))
       (setf (uffi:deref-array a '(:array (* :long)) r)
     (uffi:free-foreign-object a))
   (values))
 
-#+test-uffi
+#+examples-uffi
 (test-array-1d)
 
-#+test-uffi
+#+examples-uffi
 (test-array-2d)