;;;; 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$
;;;;
-;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg
;;;;
-;;;; UFFI users are granted the rights to distribute and use this software
-;;;; as governed by the terms of the Lisp Lesser GNU Public License
-;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************
(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)
(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+)