external alien variables

Mario Mommer <[email protected]> Wed, 02 Apr 2003 13:02:01 +0200
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
Hi,

I want to access some external global variables. Does uffi support
this?

In cmucl it is possible to do this: (taken from the manual)

(def-alien-variable "errno" int)

;; Now it is possible to get the value of the C variable errno simply by
;; referencing that Lisp variable:
;;
(print errno)

If uffi does not support it - can I mix a variable defined via
def-alien-variable with other uffi code?

Regards,
        Mario