;;;; 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
;;;;
(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)