Re: external alien variables
Mario Mommer <[email protected]> Fri, 04 Apr 2003 09:12:33 +0200
| Newsgroups | gmane.lisp.uffi.general |
|---|---|
| Message-ID | <[email protected]> |
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> writes: > Mario Mommer wrote: > > I want to access some external global variables. Does uffi support > > this? > > No, because not all supported implemtations support this. Hm.... > > 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. That is of course an option. Thanks; I didn't think of that. Regards, Mario.