* Patch by Larry D'Anna.
** AUGMENT-ENVIRONMENT and DEFINE-DECLARATION have been implemented.
** DECLARATION-INFORMATION now supports declaration name DECLARATION as
well as user defined declaration names.
+ ** VARIABLE-INFORMATION is now aware of alien variables.
* improvement: improved address space layout on OpenBSD (thanks to Josh
Elsasser)
* improvement: pretty-printing of various Lisp forms has been improved
(declaim (ftype (sfunction
(symbol &optional (or null lexenv))
- (values (member nil :special :lexical :symbol-macro :constant :global)
+ (values (member nil :special :lexical :symbol-macro :constant :global :alien)
boolean
list))
variable-information))
:GLOBAL
NAME refers to a global variable. (SBCL specific extension.)
+ :ALIEN
+ NAME refers to an alien variable. (SBCL specific extension.)
+
The second value is true if NAME is bound locally. This is currently
always NIL for special variables, although arguably it should be T
when there is a lexically apparent binding for the special variable.
(var-info this-is-global-too)
(:global nil ((always-bound . t))))
+(sb-alien:define-alien-variable "errno" sb-alien:int)
+(deftest alien-variable
+ (var-info errno)
+ (:alien nil nil))
+
;;;; FUNCTION-INFORMATION
(defmacro fun-info (var &environment env)
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.30.29"
+"1.0.30.30"