We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
use CCAssert() instead of assert()
use CCAssert() instead of assert()
Refactor #879 [Closed]
- Project changed from cocos2d-x to cpp
- Category deleted (
5) - Target version deleted (
cocos2d-1.0.1-x-0.10.0)
Status: | Closed | |
---|---|---|
Start date: | 2011-11-27 | |
Priority: | Normal | |
Due date: | ||
Assignee: | zhangxm | |
% Done: | 0% |
|
Category: | - | |
Target version: | - |
There are a lot of ‘assert()’ in cocos2d-x project. Because the bada platform doesn’t have system assert support and cocos2d-x owns the macro ‘CC_ASSERT’.
badaAssert function use the bada system messagebox to notify programmer that there is an assert appeared. If use assert directly, there are no assert notifications.