From 6957305d2fba5a66f90568af5ae9efc331482f55 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 23 Mar 2002 17:10:48 +0000 Subject: [PATCH] r1647: *** empty log message *** --- src/strings.cl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.34.1