Re: Re: ;;; An error occurred in function CSTRUCT-SLOT-INFO:
"Chris Double" <[email protected]> Mon, 08 Dec 2003 12:24:59 +1300
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 07 Dec 2003 23:01:49 -0000, "smallhairytroll" <[email protected]> said: > Which makes sense. However I don't really want to have to go back and > manually export each variable in each struct (shouldn't exporting the > struct be enough?) The following should work then: (setf (ct:cref sdl:SDL_Rect rectangle sdl::x) (random width)) Using the '::' instead of ':' tells Lisp to access the symbol in the package even if it is not exported. Chris. -- Chris Double [email protected] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/