PDA

View Full Version : multiline defines...



doubleanti
12-15-2001, 01:42 AM
i was thinking about how they had pixel plotting in 13h as a define... they said you had to make the pointer decl global since you could only have one line per define... but for a long time i've been using a mode-portable multiline define for my VESA modes...

so... why isn't everything ever done like this when it comes to compile time? why doesn't inline always inline! plus... is there a way i can make the function mode portable, but still have the speed of mode specific functions? thanks!

i know this is more of a proggie ?uestion, but it does hint on style and general...