New macro C-DECLAIM for file-local declamations that do not propagate outside the file, not even when loaded.

This commit is contained in:
Juan Jose Garcia Ripoll 2010-05-25 15:55:53 +02:00
parent cfde0986fd
commit 40d5fede52

View file

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