From: Kevin M. Rosenberg Date: Mon, 19 Dec 2011 17:36:41 +0000 (-0700) Subject: Change function to macro X-Git-Tag: v2.1.1^0 X-Git-Url: http://git.kpe.io/?p=uffi.git;a=commitdiff_plain;h=9cb589c2b664ef7e2e695eab3970ae76a73fcc7d Change function to macro --- diff --git a/debian/changelog b/debian/changelog index 6086e5d..b8f4452 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cl-uffi (2.1.1-1) unstable; urgency=low + + * New upstream + + -- Kevin M. Rosenberg Mon, 19 Dec 2011 10:35:50 -0700 + cl-uffi (2.1.0-1) unstable; urgency=low * New upstream diff --git a/src/strings.lisp b/src/strings.lisp index 4f2eae3..834d251 100644 --- a/src/strings.lisp +++ b/src/strings.lisp @@ -393,7 +393,7 @@ that LW/CMU automatically converts strings from c-calls." `(new-ptr ,size) ) -(defun foreign-string-length (foreign-string) +(defmacro foreign-string-length (foreign-string) #+allegro `(ff:foreign-strlen ,foreign-string) #-allegro `(loop