18 Dec
2006
18 Dec
'06
12:30 p.m.
The Right Thing, I believe, would be something like
(load-foreign-library "foo.dll" :name :foo)
(defcfun ("FooFun" foo-fun :library :foo) ...)
maybe one could create a defcpackage and an in-cpackage that map directly defpackage and in-package with a hashtable behind the scenes mapping from packages to foreign libraries. just some idea, -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronstället)