static COM VTables?

Stefan Dösinger stefandoesinger at gmx.at
Tue Jan 10 13:10:34 CST 2006


Hello,
I just read the "constify data" todo, and I thought it would be good to make 
the VTables in my ddraw implementation const. The old ddraw implementation 
also declares them static. Is there any advantage in it?

My C book just says that they can only be referenced from the local module, 
which is correct. But are there any other effects?

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060110/146a89ec/attachment.pgp


More information about the wine-devel mailing list