{"provider_name":"Hatena Blog","width":"100%","blog_title":"PG\u65e5\u8a8c","height":"190","published":"2019-10-24 02:02:09","blog_url":"https://takap-tech.com/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/T/Takachan/20190305/20190305234738.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2019%2F10%2F24%2F020209\" title=\"Cocos2d-x\u3067Static\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u3084\u30d5\u30ea\u30fc\u95a2\u6570\u3092\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306b\u6307\u5b9a\u3059\u308b\u30de\u30af\u30ed - PG\u65e5\u8a8c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/Takachan/","version":"1.0","title":"Cocos2d-x\u3067Static\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u3084\u30d5\u30ea\u30fc\u95a2\u6570\u3092\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306b\u6307\u5b9a\u3059\u308b\u30de\u30af\u30ed","provider_url":"https://hatena.blog","categories":["C++","Cocos2d-x","C++11\u4ee5\u4e0a"],"author_name":"Takachan","url":"https://takap-tech.com/entry/2019/10/24/020209","type":"rich","description":"\u30bf\u30a4\u30c8\u30eb\u306b\u306fCocos2d-x\u3068\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u304c\u3001C++\u3067static\u306a\u30e1\u30bd\u30c3\u30c9\u3068\u304b\u30d5\u30ea\u30fc\u95a2\u6570\u3092std::bind\u95a2\u6570\u3067\u30d0\u30a4\u30f3\u30c9\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 Cocos2d-x\u306b\u3042\u308bCC_CALLBACK${N}\u3092\u6539\u9020\u3057\u3066CC_CALLBACK_S${N}\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3059\u308b\u3068\u7c21\u5358\u306b\u30d0\u30a4\u30f3\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 // \u4efb\u610f\u306e\u4f4d\u7f6e\u306b\u4ee5\u4e0b\u3092\u5b9a\u7fa9\u3059\u308b #define CC_CALLBACK_S_0(__selector__, ...) \\ std::bind(__selector__, ##__VA_ARGS__) #define CC_CALLBACK_S_1(__selector__, ...) \\ st\u2026"}