[feature request]change CCNode::m_pUserData to type CCObject?

so we won’t bother deleting userdata for each CCNode.

if some one needs void * and doesn’t want it to be deleted along with CCNode, he can subclass CCObject and assign a void * member to it, and do nothing in the destructor.

It may be not compatible with previous versions.

Yes, that’s a problem.

Currently what I did is modifiing CCNode source code and added a new member “CCObject *m_pXUserData”, but I have to repeat that after each new version been released.

Is it possible to merge this into trunk?