On Mon, Sep 15, 2008 at 4:36 PM, Jonathan Johansen <[EMAIL PROTECTED]>wrote:
>
>
> I copied the foreign library code from
> .../lisp-builder-sdl/cffi/library.lisp:
>

Interesting... Is there any advantage to that code (i.e. is it more
portable) or is it just a more explicit form of what Justin posted?

(cffi:define-foreign-library sdl (t (:default "SDL")))

(cffi:define-foreign-library sdl
>
  (:darwin (:framework "SDL"))
>
  (:windows "SDL.dll")
>
  (:unix (:or "libSDL-1.2.so.0.7.2"
>
          "libSDL-1.2.so.0"
>
          "libSDL-1.2.so"
>
          "libSDL.so"
>
          "libSDL")))
>

Thanks.

-- 
Elliott Slaughter

"Any road followed precisely to its end leads precisely nowhere." - Frank
Herbert
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to