X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2Fc-test-fns.lisp;h=f24d5cc29293840112393e2e8ea869ecd2987ddb;hb=7b35c93f34d7fbab2e7d487b42be5b1cb1aaa73a;hp=c21b39c6e5717bcfca31da2a9ce52062fcb13b3b;hpb=a95b9a217335917d96b8c0cced4f49c3e4846115;p=uffi.git diff --git a/examples/c-test-fns.lisp b/examples/c-test-fns.lisp index c21b39c..f24d5cc 100644 --- a/examples/c-test-fns.lisp +++ b/examples/c-test-fns.lisp @@ -7,7 +7,7 @@ ;;;; 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 ;;;; @@ -19,9 +19,9 @@ (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) @@ -68,7 +68,7 @@ (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+)