cocos2d/cocos2d-iphone — pull request #123 by slembcke (2011-11-07 05:15:19+00:00)
Title: ARC patch

Just giving you an alternative that doesn't require changing all of the files ccCArray functions to be non-inlined.

It ended up being some pretty trivial changes overall. Just had to change the array to be a __strong id * array and then ARC knows to retain and release objects as the array is modified. It also required that the array be zeroed to begin with (using calloc) and that removed elements had to be zeroed out so that ARC would release them.