On 05/22/2013 03:05 PM, Dick Hollenbeck wrote:
> 
> 
> 
> Ki_WorkSheetData        WS_Revision =
> {
>     WS_REV,
>     &WS_SizeSheet,
>     BLOCK_REV_X,   BLOCK_REV_Y,
>     0,                      0,
>     wxT( "Rev: " ),NULL
> };
> 
> 
> 
> Jean-Pierre,
> 
> 
> I noticed in title_block_shapes.h you have data definitions rather than 
> declarations:
> 
> 
>   http://www.cprogramming.com/declare_vs_define.html
> 
> It is not a common practice, is this just temporary?
> 
> The more common practice is to use extern declarations in the header, and 
> define the data
> in a *.cpp file.
> 
> 
> Why are you doing this?
> 
> 
> Dick


Maybe we should rename that *.h to *.cpp and still include it if you want.  
Otherwise it
will likely get included somewhere else erroneously.







_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to