From e2e6e5304e05c0eb33b17b36ea50b6070337d474 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kochma=C5=84ski?= Date: Sat, 22 Aug 2015 19:06:00 +0200 Subject: [PATCH] cosmetic: doc typo and declaration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Kochmański --- doc/ffi.xmlf | 2 +- src/lsp/ffi.lsp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/ffi.xmlf b/doc/ffi.xmlf index a79b067..ebd34bd 100644 --- a/doc/ffi.xmlf +++ b/doc/ffi.xmlf @@ -480,7 +480,7 @@ Build and load this module with (compile-file "ecl.lsp" :load t) Note that the conversion between lisp arguments and FFI types is automatic. Note also that - et:c-inline cannot be used in interpreted or + ffi:c-inline cannot be used in interpreted or bytecompiled code! diff --git a/src/lsp/ffi.lsp b/src/lsp/ffi.lsp index 9dfd6e3..700763b 100644 --- a/src/lsp/ffi.lsp +++ b/src/lsp/ffi.lsp @@ -669,7 +669,8 @@ (defmacro c-inline (args arg-types ret-type &body others) `(error "The special form c-inline cannot be used in the interpreter: ~A" (list (list ,@args) ',arg-types ',ret-type ,@others))) - (defmacro c-progn (&rest body) + (defmacro c-progn (args &rest body) + (declare (ignore args)) '(error "The special form c-progn cannot be used in the interpreter."))) (defmacro definline (fun arg-types type code) -- 2.9.0