Jeff Caldwell wrote: > I'm just wondering why it's worthwhile to lose the > type information on points and colors, replacing them with > arrays?
It is easier to create it and to pass it to functions than with the SDL low-level structs, because you have to remember when to delete it. And since they are some kind of "value" objects (like a number or a string), this is difficult when passing it around to other functions. The Lisp GC does a better job for this kind of things :-) For more heavy weight objects, like a "surface", maybe a CLOS wrapper would be a good idea, but then we need to capture GC calls on this class to delete the attached surface. Maybe this can be done with CFFI. -- Frank Buss, [EMAIL PROTECTED] http://www.frank-buss.de, http://www.it4-systems.de _______________________________________________ application-builder mailing list [email protected] http://www.lispniks.com/mailman/listinfo/application-builder
