X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=uffi%2Fclsql-uffi.lisp;h=c2c31cc961079dd79ba5ff59f4e2fb63add3e6c8;hb=18c520ec05e89579c6d4f9400ed31996b7213072;hp=bf275ba8bde10c1763a983b25df2692d1604ae9c;hpb=bd7ba3689f8d04d6806f4e2e819dda23ecc9334f;p=clsql.git diff --git a/uffi/clsql-uffi.lisp b/uffi/clsql-uffi.lisp index bf275ba..c2c31cc 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.10 2003/05/16 08:07:39 kevin Exp $ +;;;; $Id: clsql-uffi.lisp,v 1.14 2003/05/16 09:14:39 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -187,9 +187,16 @@ (str (make-string len))) (declare (fixnum len) (type (simple-array (unsigned-byte 8) (*)) str)) + #+ignore + (do ((i 0)) + ((= i len4)) + (declare (fixnum i)) + (setf (aref (the (simple-array (unsigned-byte 32) (*)) str) i) + (uffi:deref-array s '(:array :unsigned-int) i)) + (incf i)) (do ((i 0)) ((= i len)) (declare (fixnum i)) - (setf (aref str i) (uffi:deref-array s '(:array :unsigned-char) i)) + (setf (aref str1 i) (uffi:deref-array s '(:array :unsigned-char) i)) (incf i)) str))))