cocos2d/cocos2d-x — pull request #4796 by minggo (2014-01-02 09:28:34+00:00)
Title: use std::function for call back

Use `std::function` for `TextureCache::addImageAsync()` to simplify the interface. It is a pity that can not keep compatible or it will make codes too complex and will slow down speed.