X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fstrings.lisp;h=834d251b2620ffc09888dfdb98507fc2924e42b6;hb=refs%2Ftags%2Fv2.1.1;hp=4f2eae3c7e430456dd4355b8462fddedefe58eba;hpb=b96ebc61e49dde6a96978e17c3ed375bea8c1672;p=uffi.git 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