X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=uffi%2Fclsql-uffi.lisp;h=3c4c8180e23e9736587da7ea3a3c83fc02719c82;hp=11fb988c6358269588418cd98105c1232a11db0d;hb=7b60895e23603aba2506b1dde8bb1d59efaa94eb;hpb=082969cc01765b8ebde78cd35a41ad274d1af02d diff --git a/uffi/clsql-uffi.lisp b/uffi/clsql-uffi.lisp index 11fb988..3c4c818 100644 --- a/uffi/clsql-uffi.lisp +++ b/uffi/clsql-uffi.lisp @@ -7,7 +7,7 @@ ;;;; Programmers: Kevin M. Rosenberg ;;;; Date Started: Mar 2002 ;;;; -;;;; $Id: clsql-uffi.lisp,v 1.6 2003/05/15 07:33:21 kevin Exp $ +;;;; $Id: clsql-uffi.lisp,v 1.7 2003/05/15 07:39:42 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -130,7 +130,8 @@ :returning :unsigned-int) (defun native-to-string (s) - (declare (optimize (speed 3) (space 0) (safety 0) (compilation-speed 0))) + (declare (optimize (speed 3) (space 0) (safety 0) (compilation-speed 0)) + (type char-ptr-def s)) (let* ((len (strlen s)) (str (make-string len))) (declare (fixnum len)