On Sunday 28 May 2006 09:06, David Faure wrote: > On Saturday 27 May 2006 20:41, Frans Englich wrote: > > Hi everyone, > > > > In a project of mine, I would like to intercept calls to i18n() and apply > > various consistency checks. I only want to do this when compiling in > > debug mode. > > > > First of all, I cannot simply invent my own i18n functions which > > subsequently calls the real i18n functions, since the translation > > framework is hardcoded on the function name i18n and on top of that > > requires a character literal as argument. Right? > > > > To me, two solutions might remain: > > Third solution, 'override' at the pre-processor level, with #define i18n > myi18n? Yeah, I guess that would work. Thanks. Cheers, Frans >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<