The Cairo interface has lots of function signatures that look like:
void someFunc(.... double red, double green, double blue, double alpha...)
On thing I wanted to was to create a subclass of UninterpretedBytes called AlphaColor of size 32. And then add accessors which use doubleAt:(put:) to create the 4 "instance variables." So what would be really cool then, is there were a way to redeclare the DLLCC interface so that the 4 doubles contained in the 32 bytes just got copied enmasse to the stack and then function invokation.
--
Travis Griggs
Objologist
10 2 letter words: "If it is to be, it is up to me"
DISCLAIMER: This email is bound by the terms and conditions described at
http://www.key.net/disclaimer.htm