摘要: 看一个连连看的代码。里面有一些不熟悉的地方,需要查看,随手记录下。备忘1CREATE_FUNC宏在代码里经常看到使用这个宏:CREATE_FUNC(BaseLayer); 1 /** 2 * define a create function for a specific type, such as CCLayer 3 * @__TYPE__ class type to add create(), such as CCLayer 4 */ 5 #define CREATE_FUNC(__TYPE__) \ 6 static __TYPE__* create() \ 7 { \ 8 ... 阅读全文
posted @ 2014-01-21 17:05 aosting 阅读(364) 评论(0) 推荐(0) 编辑