lua中怎样退出整个游戏

我使用CCDirector:sharedDirector():end();时表示end为关键字。。。。。

CCDirector:sharedDirector():endToLua()