Products
Learn
Get Started
Programmers Guide
API Reference
Wiki
SDKBOX
Games
Forum
Download
Blog
Sign In
Roadmap
Issues
Wiki
New issue
Projects
>
cocos2d-x
>
Issues
> Bug #4432
CC_SAFE_DELETE safe of not in cocos2d-x-3.0rc0
Bug #4432 [New]
scott_cocos2dx
2014-03-18 06:19
define CC_SAFE_DELETE(p) do { delete (p); (p) = nullptr; } while(0)
¶
Mebe
define CC_SAFE_DELETE(p) do { if(p){ delete (p); (p) = nullptr; }} while(0)
¶
Atom
PDF
Status:
New
Start date:
2014-03-18
Priority:
Low
Due date:
Assignee:
-
% Done:
0%
Category:
-
Target version:
-
Loading...
define CC_SAFE_DELETE(p) do { delete (p); (p) = nullptr; } while(0)¶
Mebe
define CC_SAFE_DELETE(p) do { if(p){ delete (p); (p) = nullptr; }} while(0)¶