[Yum-devel] [PATCH 2/6] Extract out a common set of SAXContext members for the three file types

James Bowes jbowes at redhat.com
Fri Jun 1 16:45:24 UTC 2007


On Tue, 29 May 2007 23:33:23 -0400, James Antill wrote:
>  When doing conversions like this, I've found it's often better to use:
> 
>     SAXContext *sctx = &ctx->sctx;
> 
> ...that way the compiler still does the type checking for you (and the
> following code is obviously safe from aliasing).
> 

That sounds pretty reasonable. Thanks for the feebdack, James.

-James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070601/c100209f/attachment.pgp 


More information about the Yum-devel mailing list