Re: [Xpert]Stupid defines?

2001-12-17 Thread Keith Packard


Around 17 o'clock on Dec 17, Egbert Eich wrote:

> Several X headers (Xlib.h!) contain the following defines:
> 
> #define Boolint
> #define Status  int
> 
> Does anybody see any side effects if we change this to
> a typedef? This would avoid unpleasant surprises for 
> programmers.

You can't change Xlib.h -- it's part of the Xlib specification.  Switching 
from #define to typedef will mean the existing workarounds for this 
particular namespace polution will fail.

Keith PackardXFree86 Core TeamCompaq Cambridge Research Lab


___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Stupid defines?

2001-12-17 Thread Egbert Eich



Several X headers (Xlib.h!) contain the following defines:

#define Boolint
#define Status  int

Does anybody see any side effects if we change this to
a typedef? This would avoid unpleasant surprises for 
programmers.

Egbert.
 
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert