MCPcopy Create free account
hub / github.com/danomatika/ofxLua / exit

Method exit

luaExample/src/ofApp.cpp:59–65  ·  view source on GitHub ↗

--------------------------------------------------------------

Source from the content-addressed store, hash-verified

57
58//--------------------------------------------------------------
59void ofApp::exit() {
60 // call the script's exit() function
61 lua.scriptExit();
62
63 // clear the lua state
64 lua.clear();
65}
66
67//--------------------------------------------------------------
68void ofApp::keyPressed(int key) {

Callers

nothing calls this directly

Calls 2

scriptExitMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected