X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Fcompress.cl;h=7787b69939d001a512ecc31684d69426eb93c3e7;hb=e41ee8065d399e0fb1d0d851a27aa53ba9015cf2;hp=cf3bec4e90f6fa66f323bf249a203eebd8a90d8b;hpb=192193db6e4fbda90a840474d4aa2e8762597927;p=uffi.git diff --git a/tests/compress.cl b/tests/compress.cl index cf3bec4..7787b69 100644 --- a/tests/compress.cl +++ b/tests/compress.cl @@ -9,7 +9,7 @@ ;;;; ;;;; Copyright (c) 2002 Kevin M. Rosenberg ;;;; -;;;; $Id: compress.cl,v 1.1 2002/03/09 19:55:33 kevin Exp $ +;;;; $Id: compress.cl,v 1.2 2002/03/09 21:19:31 kevin Exp $ ;;;; ;;;; This file is part of UFFI. ;;;; @@ -32,7 +32,7 @@ (unless (uffi:load-foreign-library "/usr/lib/libz.so" "zlib" '("c")) (warn "Unable to load zlib")) -(uffi:def-routine ("compress" c-compress) +(uffi:def-function ("compress" c-compress) ((dest (* :unsigned-char)) (destlen (* :long)) (source :c-string)