projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1721: *** empty log message ***
[uffi.git]
/
tests
/
c-test-fns.cl
diff --git
a/tests/c-test-fns.cl
b/tests/c-test-fns.cl
index a45dda9f23be766e78e84feb9616ec8a28fd700c..1bedef93abaa7d247e68217adb2586f69567cb1d 100644
(file)
--- a/
tests/c-test-fns.cl
+++ b/
tests/c-test-fns.cl
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id: c-test-fns.cl,v 1.
3 2002/03/31 23:05:07
kevin Exp $
+;;;; $Id: c-test-fns.cl,v 1.
5 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
;;;;
@@
-19,11
+19,7
@@
(in-package :cl-user)
(unless (uffi:load-foreign-library
(in-package :cl-user)
(unless (uffi:load-foreign-library
- (make-pathname :name "c-test-fns"
- :type #+(or linux unix)"so"
- #+(or win32 mswindows) "dll"
- #+freebsd "a"
- :defaults *load-truename*)
+ (uffi:find-foreign-library "c-test-fns" *load-truename*)
:supporting-libraries '("c")
:force-load t)
(warn "Unable to load c-test-fns library"))
:supporting-libraries '("c")
:force-load t)
(warn "Unable to load c-test-fns library"))
@@
-81,22
+77,22
@@
(half-double-vector +double-vec-length+ (system:vector-sap vec)))
vec))
(half-double-vector +double-vec-length+ (system:vector-sap vec)))
vec))
-#+
test
-uffi
+#+
examples
-uffi
(format t "~&(string-to-upper \"this is a test\") => ~A"
(string-to-upper "this is a test"))
(format t "~&(string-to-upper \"this is a test\") => ~A"
(string-to-upper "this is a test"))
-#+
test
-uffi
+#+
examples
-uffi
(format t "~&(string-to-upper nil) => ~A"
(string-to-upper nil))
(format t "~&(string-to-upper nil) => ~A"
(string-to-upper nil))
-#+
test
-uffi
+#+
examples
-uffi
(format t "~&(string-count-upper \"This is a Test\") => ~A"
(string-count-upper "This is a Test"))
(format t "~&(string-count-upper \"This is a Test\") => ~A"
(string-count-upper "This is a Test"))
-#+
test
-uffi
+#+
examples
-uffi
(format t "~&(string-count-upper nil) => ~A"
(string-count-upper nil))
(format t "~&(string-count-upper nil) => ~A"
(string-count-upper nil))
-#+
test
-uffi
+#+
examples
-uffi
(format t "~&Half vector: ~S" (test-half-double-vector))
(format t "~&Half vector: ~S" (test-half-double-vector))