[pypy-dev] A small patch

Ben.Young at risk.sungard.com Ben.Young at risk.sungard.com
Wed Jun 15 15:52:44 CEST 2005

Hi Armin,

pypy-dev-bounces at codespeak.net wrote on 15/06/2005 14:36:15:

> Hi Ben,
> On Wed, Jun 15, 2005 at 02:04:35PM +0100, Ben.Young at risk.sungard.com 
> > After all my pointless question asking, I thought it would be best if 
> > actually contributed something. 
> Thanks!  I removed the NULL, because the array is actually nested in the
> structure; it's not a pointer to an array.  Thanks for the fix, though.

Doh! Thats me thinking in C++ (where I'd allocate the variable bit 
seperately), and not this c-ish allocate an a struct, but with extra mem.

> Do you know if VC++ is equally unhappy about empty structure
> initializers?  (It could be the case that some of our struct
> declarations are empty; I don't know if there is a test showing that
> behavior at the moment)

I not really sure. All the tests seem to pass, but thats not really an 
indicator. I'll investigate and let you know.


> Armin
> _______________________________________________
> pypy-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev

More information about the Pypy-dev mailing list