X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Fcompress.lisp;h=3a6877434d031a9a358297ba2126e2cc47060262;hb=5adb58ea9a2b4f0af8789ce6ac722253e1aa6153;hp=acc6f0e2bc8ffc18859863423cbd0971c0d02c6e;hpb=1a9bfad7573c63b34181820e2186a3580cf2d283;p=uffi.git diff --git a/tests/compress.lisp b/tests/compress.lisp index acc6f0e..3a68774 100644 --- a/tests/compress.lisp +++ b/tests/compress.lisp @@ -2,12 +2,12 @@ ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; -;;;; Name: compress.cl +;;;; Name: compress.lisp ;;;; Purpose: UFFI Example file for zlib compression -;;;; Programmer: Kevin M. Rosenberg +;;;; Author: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: compress.lisp,v 1.7 2003/04/29 14:13:55 kevin Exp $ +;;;; $Id: compress.lisp,v 1.11 2003/05/02 02:50:12 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -18,20 +18,6 @@ (in-package :uffi-tests) -(eval-when (:load-toplevel :execute) - (unless (uffi:load-foreign-library - #-(or macosx darwin) - (uffi:find-foreign-library - "libz" - '("/usr/local/lib/" "/usr/lib/" "/zlib/") - :types '("so" "a")) - #+(or macosx darwin) - (uffi:find-foreign-library "z" - `(,(pathname-directory *load-pathname*))) - :module "zlib" - :supporting-libraries '("c")) - (warn "Unable to load zlib"))) - (uffi:def-function ("compress" c-compress) ((dest (* :unsigned-char)) (destlen (* :long))