Uwe Stöhr wrote:
What's the problem?
This code part is from Jürgen as proposal, because Angus and Abdel requested a solution without the declaration of the extern global variable as I did in the first version of the patch.

I just had a look at the source and I must say that the structure of the code is very much C-like. So I don't blame you to introduce yet another global variable. I had thought that we could attach the variable to some class; but, if that is the only solution, then I agree with Angus that it should be declared as with the others. The advantage of accessors with static (thus local to a file) variable (as indicated by Peter) is that it might be easier to move the code to a more object oriented structure afterwards.

Abdel.

Reply via email to