projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r10571: avoid multiple evaluation for strings input to macros
[uffi.git]
/
tests
/
arrays.lisp
diff --git
a/tests/arrays.lisp
b/tests/arrays.lisp
index 641996ca4dddd2cc667dd9872a087dae6f99c0ea..25ad9011a6b9c7cb31875be61e9875bb760e59ba 100644
(file)
--- a/
tests/arrays.lisp
+++ b/
tests/arrays.lisp
@@
-7,7
+7,7
@@
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id
: arrays.lisp,v 1.5 2003/08/13 18:53:42 kevin Exp
$
+;;;; $Id$
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002-2003 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002-2003 by Kevin M. Rosenberg
;;;;
@@
-18,9
+18,9
@@
(uffi:def-constant +column-length+ 10)
(uffi:def-constant +row-length+ 10)
(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+)
(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))
(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+)
(let ((a (uffi:allocate-foreign-object 'long-ptr +row-length+))
(results nil))
(dotimes (r +row-length+)