9 Nov
2005
9 Nov
'05
2:30 p.m.
Are there forces preventing you from factoring out the common bits of the two codepaths into a common codepath? It sounds as if there is quite a lot of redundancy which would lend itself to factoring.
It's because of the factoring that the #ifdefs are so dense:
...common code... #ifdef USE_PANGO_WIN32 pango_win32_foo() #else pango_ft2_bar() #endif ...common code...
That's an oversimplified example, of course. There are no functions with 1:1 equivalence because Pango has polymorphism so if there were it would already have been done.
BTW, the only reason I'm waiting before I commit is for Ralf's 'train wreck' (/me ducks) to calm down a bit.
Richard.