On 7/4/06, Samium Gromoff <[EMAIL PROTECTED]> wrote:
> I saw the following code snippet in src/sdl.lisp:
>
> ...
> (cl:defconstant SDL_SWSURFACE #x00000000)
>
> (cl:defconstant SDL_HWSURFACE #x00000001)
>
> (cl:defconstant SDL_ASYNCBLIT #x00000004)
>
> (cl:defconstant SDL_ANYFORMAT #x10000000)
>
> (cl:defconstant SDL_HWPALETTE #x20000000)
> ...
>
> How does this relate to the lisp tradition of using a +notation+
> for constants?
>
> Also, why the SDL_ prefix -- why not place the constants into the
> package and use that as pseudo-prefix, like sdl:+swsurface+?
>
> regards, Samium Gromoff
>
> _______________________________________________
> application-builder mailing list
> [email protected]
> http://www.lispniks.com/mailman/listinfo/application-builder
>

We made the design decision of having a thin wrapper round SDL which
can then be built on by successively thicker and lisp friendly
libraries as desired.

Justin
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to