projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r3460: new deb pkg
[uffi.git]
/
tests
/
c-test-fns.lisp
diff --git
a/tests/c-test-fns.lisp
b/tests/c-test-fns.lisp
index c21b39c6e5717bcfca31da2a9ce52062fcb13b3b..4ff8fb90ea24632fd6b0240349418dad6a8f7908 100644
(file)
--- a/
tests/c-test-fns.lisp
+++ b/
tests/c-test-fns.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id: c-test-fns.lisp,v 1.
1 2002/09/30 10:02:36
kevin Exp $
+;;;; $Id: c-test-fns.lisp,v 1.
4 2002/11/18 04:53:31
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
;;;;
@@
-19,9
+19,9
@@
(in-package :cl-user)
(unless (uffi:load-foreign-library
(in-package :cl-user)
(unless (uffi:load-foreign-library
- (uffi:find-foreign-library "c-test-fns"
*load-truename*)
-
:supporting-libraries '("c"
)
- :
force-load t
)
+ (uffi:find-foreign-library "c-test-fns"
+
(list *load-truename* "/home/kevin/debian/src/uffi/examples/")
)
+ :
supporting-libraries '("c")
)
(warn "Unable to load c-test-fns library"))
(uffi:def-function ("cs_to_upper" cs-to-upper)
(warn "Unable to load c-test-fns library"))
(uffi:def-function ("cs_to_upper" cs-to-upper)
@@
-68,7
+68,7
@@
(half-double-vector +double-vec-length+ vec)
vec))
(half-double-vector +double-vec-length+ vec)
vec))
-#+
cmu
+#+
(or cmu scl)
(defun t3 ()
(let ((vec (make-array +double-vec-length+ :element-type 'double-float)))
(dotimes (i +double-vec-length+)
(defun t3 ()
(let ((vec (make-array +double-vec-length+ :element-type 'double-float)))
(dotimes (i +double-vec-length+)