Refactor #1406

Should not return a object reference from engine

Added by Minggo Zhang 10 months ago. Updated 8 months ago.

Status:Rejected Start date:2012-07-26
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:all
Target version:-

Description

CC_PROPERTY_PASS_BY_REF, CC_SYNTHESIZE_PASS_BY_REF return a object reference.
It is dangerous, because the value may be modified outside.

Should return an object.

History

Updated by Minggo Zhang 10 months ago

  • Assignee set to Minggo Zhang

Updated by Minggo Zhang 10 months ago

  • Assignee deleted (Minggo Zhang)
  • Target version changed from cocos2d-2.0-x-2.0.2 to Unplanned

I am not sure if it should return a non reference object.
Because it may affect the engine performance.
So i move this issue to unplanned.

Updated by Zhe Wang 8 months ago

  • Status changed from New to Rejected
  • Target version deleted (Unplanned)

No worth to do so.

Also available in: Atom PDF