2008/5/4 css <[EMAIL PROTECTED]>:
>  >  But functions that blit, or read from, or fill, or create new RECTANGLE's
>  > etc. will not perform this check.
>  >
>  >  Justin, any thoughts?
>
>  At least SBCL seems to allow to catch Memory-Faults. But I do not know
>  if this is efficient enough. Another Idea would be to somehow redefine
>  certain functions when entering and exiting an sdl-scope, that is,
>  they cannot be called outside the scope - but this is - if it was
>  possible and fast enough to use it - a lot of work, I think. Maybe you
>  should just write it into the Documentation (at a Place where anyone
>  can see it).

It's a small responsibility on the user to know that you have to
initialise SDL before you can use it. I'm not sure a check for that in
every operation would be a good idea. Perhaps in some of the
operations that aren't called 100's of times a frame it would be ok.

Justin
_______________________________________________
application-builder mailing list
application-builder@lispniks.com
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to