From: Kevin M. Rosenberg Date: Sat, 23 Mar 2002 17:10:48 +0000 (+0000) Subject: r1647: *** empty log message *** X-Git-Tag: v1.6.1~542 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=6957305d2fba5a66f90568af5ae9efc331482f55;p=uffi.git r1647: *** empty log message *** --- diff --git a/src/strings.cl b/src/strings.cl index 18b7ffa..4d95e33 100644 --- a/src/strings.cl +++ b/src/strings.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: strings.cl,v 1.13 2002/03/23 12:58:12 kevin Exp $ +;;;; $Id: strings.cl,v 1.14 2002/03/23 17:06:57 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -67,6 +67,12 @@ that LW/CMU automatically converts strings from c-calls." ,@body))) ) +(defmacro with-cstrings (bindings &rest body) + (if bindings + `(with-cstring ,(car bindings) + (with-cstrings ,(cdr bindings) + ,@body)) + `(progn ,@body))) ;;; Foreign string functions