X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fstrings.lisp;h=8d768e62f638311c27cf010a8c756f6bb2c1e96a;hb=7257bec0054cabeb29c253942fac968efa0277c4;hp=2712a7355ce3ec389880367aa26d6910119f3759;hpb=eb03e5da9d2a2918aff4004597205b36a32f7f6e;p=uffi.git diff --git a/src/strings.lisp b/src/strings.lisp index 2712a73..8d768e6 100644 --- a/src/strings.lisp +++ b/src/strings.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: strings.lisp,v 1.5 2002/12/13 22:49:09 kevin Exp $ +;;;; $Id: strings.lisp,v 1.6 2003/03/12 21:13:18 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -55,7 +55,7 @@ that LW/CMU automatically converts strings from c-calls." `(if (null ,obj) +null-cstring-pointer+ (let ((ptr (new-ptr (1+ (length ,obj))))) - (ccl:%put-cstring ptr ,obj) + (ccl::%put-cstring ptr ,obj) ptr)) ) @@ -143,7 +143,7 @@ that LW/CMU automatically converts strings from c-calls." `(if (null ,obj) +null-cstring-pointer+ (let ((ptr (new-ptr (1+ (length ,obj))))) - (ccl:%put-cstring ptr ,obj) + (ccl::%put-cstring ptr ,obj) ptr)) )