r5589: Auto commit for Debian build
[uffi.git] / tests / compress.lisp
index 9e9674a268997ee782084b9fd530bc0919400bf4..5bb6e3d05f7e5fc129d6472b3ce107d458ea853b 100644 (file)
@@ -2,35 +2,19 @@
 ;;;; *************************************************************************\r
 ;;;; FILE IDENTIFICATION\r
 ;;;;\r
-;;;; Name:          compress.cl\r
+;;;; Name:          compress.lisp\r
 ;;;; Purpose:       UFFI Example file for zlib compression\r
-;;;; Programmer:    Kevin M. Rosenberg\r
+;;;; Author:        Kevin M. Rosenberg\r
 ;;;; Date Started:  Feb 2002\r
 ;;;;\r
-;;;; $Id: compress.lisp,v 1.9 2003/05/02 02:36:22 kevin Exp $\r
+;;;; $Id: compress.lisp,v 1.12 2003/08/13 18:53:42 kevin Exp $\r
 ;;;;\r
-;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg\r
+;;;; This file, part of UFFI, is Copyright (c) 2002-2003 by Kevin M. Rosenberg\r
 ;;;;\r
-;;;; UFFI users are granted the rights to distribute and use this software\r
-;;;; as governed by the terms of the Lisp Lesser GNU Public License\r
-;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.\r
 ;;;; *************************************************************************\r
 \r
-(in-package :uffi-tests)\r
+(in-package #:uffi-tests)\r
 \r
-(unless (uffi:load-foreign-library\r
-        #-(or macosx darwin)\r
-        (uffi:find-foreign-library\r
-         "libz"\r
-         '("/usr/local/lib/" "/usr/lib/" "/zlib/")\r
-         :types '("so" "a"))\r
-        #+(or macosx darwin)\r
-        (uffi:find-foreign-library "z"\r
-                                   `(,(pathname-directory *load-pathname*)))\r
-        :module "zlib" \r
-        :supporting-libraries '("c"))\r
-  (warn "Unable to load zlib"))\r
-  \r
 (uffi:def-function ("compress" c-compress)\r
     ((dest (* :unsigned-char))\r
      (destlen (* :long))\r