[Citadel Development] Re: CC WC bad..

2010-07-27 Thread IGnatius T Foobar
Perhaps we can find a better way of automating it? I suppose we could just eliminate the #define entirely, and then every place we need CC we could just do struct CitContext *CC = MyContext(); That's a lot of noise, of course, but if you're going to put struct CitContext *CCC = CC;

[Citadel Development] Re: CC WC bad..

2010-07-27 Thread dothebart
I think the define is OK, there just should be a CCC which is set once, so the compiler can actualy see a pointer to CitContext so it can correctly enlist it in the dependency list

[Citadel Development] Re: CC WC bad..

2010-07-27 Thread dothebart
the CCC also gives you a chance to have easy access to it once you're in gdb and wanting to watch some of its members. else you'll have to go up to some obscure frame, find out some obscure function local pointer, get your CC pointer thereof and watch your stuff there. Real inconvenient in