Re: external alien variables

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Thu, 3 Apr 2003 15:12:38 -0700
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
Mario Mommer wrote:
> I want to access some external global variables. Does uffi support
> this?

No, because not all supported implemtations support this.

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

Yes, you can, but then you code only works on cmucl. To be
cross-implementation compatible, you can wrap the access of that
foreign global in a C function.

-- 
       Kevin Rosenberg        |  .''`.  ** Debian GNU/Linux **
  http://b9.com/debian.html   | : :' :      The  universal
  GPG signed and encrypted    | `. `'      Operating System
     messages accepted.       |   `-    http://www.debian.org/