Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ menuCloseCallback
Method
menuCloseCallback
test/browser/cocos2d_hello.cpp:203–210 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
201
202
203
void HelloWorld::menuCloseCallback(Object* sender)
204
{
205
Director::getInstance()->end();
206
207
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
208
exit(0);
209
#endif
210
}
211
212
// =================
213
// AppDelegate.cpp
Callers
nothing calls this directly
Calls
2
exit
Function · 0.50
end
Method · 0.45
Tested by
no test coverage detected