X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Farrays.lisp;h=182b9b3ffcd1c2bd0944702aa9125c2da9c24599;hb=cc7b3da48f78a00cf62737f447ef9fe05a79bc37;hp=e018083d43f00ec7be45d2eb4af1e4d3e62c86b4;hpb=ebedde4e67b858b1f65c5eb4dc7bc45978ed1e40;p=uffi.git diff --git a/tests/arrays.lisp b/tests/arrays.lisp index e018083..182b9b3 100644 --- a/tests/arrays.lisp +++ b/tests/arrays.lisp @@ -9,7 +9,7 @@ ;;;; ;;;; $Id$ ;;;; -;;;; This file, part of UFFI, is Copyright (c) 2002-2003 by Kevin M. Rosenberg +;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg ;;;; ;;;; ************************************************************************* @@ -18,9 +18,9 @@ (uffi:def-constant +column-length+ 10) (uffi:def-constant +row-length+ 10) -(uffi:def-foreign-type long-ptr '(* :long)) +(uffi:def-foreign-type long-ptr (* :long)) -(deftest array.1 +(deftest :array.1 (let ((a (uffi:allocate-foreign-object :long +column-length+)) (results nil)) (dotimes (i +column-length+) @@ -32,7 +32,7 @@ (0 1 4 9 16 25 36 49 64 81)) -(deftest array.2 +(deftest :array.2 (let ((a (uffi:allocate-foreign-object 'long-ptr +row-length+)) (results nil)) (dotimes (r +row-length+)