Be careful out there

Roderick Colenbrander thunderbird2k at gmx.net
Thu Oct 2 14:07:11 CDT 2008


The names in the headers don't matter to programs which use them and source which is compiled using them. Only the order matters. Using the same names is fine.

Roderick

> Andrew Fenn wrote:
> > Actually I wanted to ask a question about this..
> > 
> > When implementing an API do we have to change the variable names from
> > those given in the msdn documentation?
> > 
> > More specifically, the typedefs for the xinput structs ( documentation
> > here: http://msdn.microsoft.com/en-us/library/bb173049(VS.85).aspx ).
> > Do I have the change the names of these or can I just keep them the
> > same?
> 
> If you change these name your implementation will only be binary 
> compatible but source code has to be modified to work with your headers. 
> So you should use the same names in header files.
> 
> Kornél
> 

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser



More information about the wine-devel mailing list