mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-11 23:40:36 -07:00
New macro C-DECLAIM for file-local declamations that do not propagate outside the file, not even when loaded.
This commit is contained in:
parent
cfde0986fd
commit
40d5fede52
1 changed files with 5 additions and 0 deletions
|
|
@ -50,3 +50,8 @@
|
|||
(proclaim ',declarations)))
|
||||
(eval-when (:load-toplevel :execute)
|
||||
(mapc 'proclaim ',declarations))))
|
||||
|
||||
(defmacro ext::c-declaim (&rest declarations)
|
||||
`(ext:with-backend
|
||||
:c/c++ (eval-when (:compile-toplevel)
|
||||
(c::process-declaim-args ',declarations))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue