Tomi Neste <[EMAIL PROTECTED]> writes:
> Depending on the hw architecture it might be possible to get away with
> using something like:
>
> (cffi:defcfun ("TTF_RenderText_Blended" render-text-blended) new-image
> (font :pointer) (text :string) (color :uint32))
>
> (sdl:render-text-blended font string (+ (ash b 16) (ash g 8) r))
>
> instead of using c wrapper routines. This is what I have previously used
> with Win32 & Linux x86 and it seems to work fine.
Aaarg. Thanks Tomi. If I had known this little trick I wouldn't have written
the glue library. I would like to keep it in for 64-bit CPUs though.
Well, if we need other glue libraries we can use this as a skeleton so it
wasn't all for naught.
- Luke
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder