projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r4976: Auto commit for Debian build
[clsql.git]
/
uffi
/
clsql-uffi.lisp
diff --git
a/uffi/clsql-uffi.lisp
b/uffi/clsql-uffi.lisp
index bf275ba8bde10c1763a983b25df2692d1604ae9c..c2c31cc961079dd79ba5ff59f4e2fb63add3e6c8 100644
(file)
--- a/
uffi/clsql-uffi.lisp
+++ b/
uffi/clsql-uffi.lisp
@@
-7,7
+7,7
@@
;;;; Programmers: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
;;;; Programmers: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id: clsql-uffi.lisp,v 1.1
0 2003/05/16 08:07
:39 kevin Exp $
+;;;; $Id: clsql-uffi.lisp,v 1.1
4 2003/05/16 09:14
:39 kevin Exp $
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; 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))
(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))
(do ((i 0))
((= i len))
(declare (fixnum i))
- (setf (aref str i) (uffi:deref-array s '(:array :unsigned-char) i))
+ (setf (aref str
1
i) (uffi:deref-array s '(:array :unsigned-char) i))
(incf i))
str))))
(incf i))
str))))