projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1962: *** empty log message ***
[uffi.git]
/
tests
/
arrays.cl
diff --git
a/tests/arrays.cl
b/tests/arrays.cl
index e9bbbaaea7cd45a18370f348c928515d4b9b6a61..668171c61d7fc3e5abd1de1ce15c0333ea26ffc1 100644
(file)
--- a/
tests/arrays.cl
+++ b/
tests/arrays.cl
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
;;;; 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
;;;;
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-33,7
+33,7
@@
(defun test-array-2d ()
"Tests 2d array"
(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)
(dotimes (r +row-length+)
(declare (fixnum r))
(setf (uffi:deref-array a '(:array (* :long)) r)
@@
-55,10
+55,10
@@
(uffi:free-foreign-object a))
(values))
(uffi:free-foreign-object a))
(values))
-#+
test
-uffi
+#+
examples
-uffi
(test-array-1d)
(test-array-1d)
-#+
test
-uffi
+#+
examples
-uffi
(test-array-2d)
(test-array-2d)