X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fstrings.lisp;fp=src%2Fstrings.lisp;h=913b90ab016728a9ee354caeb4e9319d6ded942c;hb=4a32753775929412552a87847b9b265c50f8d835;hp=543434fe0fed901a0a4d573bca4513d304fa9a51;hpb=6fa89a151c41d40386c8e50bb66a94e14a366b3e;p=uffi.git diff --git a/src/strings.lisp b/src/strings.lisp index 543434f..913b90a 100644 --- a/src/strings.lisp +++ b/src/strings.lisp @@ -9,7 +9,7 @@ ;;;; ;;;; $Id$ ;;;; -;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg +;;;; This file, part of UFFI, is Copyright (c) 2002-2010 by Kevin M. Rosenberg ;;;; ************************************************************************* (in-package #:uffi) @@ -389,7 +389,7 @@ that LW/CMU automatically converts strings from c-calls." (def-type char-ptr-def (* :unsigned-char)) -#+(or (and allegro (not ics)) (and lispworks (not lispworks5))) +#+(or (and allegro (not ics)) (and lispworks (not lispworks5) (not lispworks6))) (defun fast-native-to-string (s len) (declare (optimize (speed 3) (space 0) (safety 0) (compilation-speed 0)) (type char-ptr-def s)) @@ -402,7 +402,7 @@ that LW/CMU automatically converts strings from c-calls." (setf (aref str i) (uffi:deref-array s '(:array :char) i))))) -#+(or (and allegro ics) lispworks5) +#+(or (and allegro ics) lispworks5 lispworks6) (defun fast-native-to-string (s len) (declare (optimize (speed 3) (space 0) (safety 0) (compilation-speed 0)) (type char-ptr-def s))