cosmetic: doc typo and declaration

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
This commit is contained in:
Daniel Kochmański 2015-08-22 19:06:00 +02:00
parent de3c02b149
commit e2e6e5304e
2 changed files with 3 additions and 2 deletions

View file

@ -480,7 +480,7 @@ Build and load this module with (compile-file "ecl.lsp" :load t)
<para>Note that the conversion between lisp arguments and
<acronym>FFI</acronym> types is automatic. Note also that
<function>et:c-inline</function> cannot be used in interpreted or
<function>ffi:c-inline</function> cannot be used in interpreted or
bytecompiled code!</para>
</refsect1>

View file

@ -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)