non-trivial member getters

non-trivial member getters
0.0 0


Why getters for non-trivial members doesn’t return references?
For example @ CCNode::getPosition() @ should (for best performance) return @ const CCPoint& @ instead copy of position point


oops. You’re right. I notice that some months ago, but soon I’m swamped by tons of issues and forget it.
If cocos2d-iphone doesn’t release 1.0.0-stable after we finish the input editor & libcurl integration, we will have time to do it.


@Marat Yakupov
Thanks for your fix! I just merged it into master branch.