Message116748
The _countof(_x_) macro expands to something like this:
sizeof(_x_)/sizeof(_x_[0])
This was an attempt by Microsoft to mitigate some buffer overrun issues. I have gotten in the habit of using it as it is less verbose. I have uploaded a new issue9808.diff file that removes the _countof macro. I will leave it up to those with commit privileges which version gets checked in. Personally I like it because it clarifies the programmers intent. Why not introduce it to the Python code base? |
|
Date |
User |
Action |
Args |
2010-09-18 02:25:39 | janglin | set | recipients:
+ janglin, amaury.forgeotdarc, giampaolo.rodola, tim.golden, brian.curtin |
2010-09-18 02:25:38 | janglin | set | messageid: <1284776738.91.0.797978201487.issue9808@psf.upfronthosting.co.za> |
2010-09-18 02:25:37 | janglin | link | issue9808 messages |
2010-09-18 02:25:37 | janglin | create | |
|