Hi Maxthon,

Maxthon Chan wrote:
If you need to keep your code strictly C you can emulate this by (ab)using 
#include and #define and #ifdef like this:

from what I can understand, your solution switches types at compile time.

I need instead to do that at runtime. I get an NSImageRepresentation, analyze the bit depth and execute the same algorithm, but once on 8bit (char) and once with 16bit (short).

Riccardo

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to