示例#1
0
void PdBase::closePatch(Patch& patch) {
	if(!patch.isValid()) {
		return;
	}
	libpd_closefile(patch.handle());
	patch.clear();
}	
示例#2
0
文件: ofxPd.cpp 项目: ptgodart/ofxPd
void ofxPd::closePatch(Patch& patch) {
	
	ofLog(OF_LOG_VERBOSE, "ofxPd: Closing patch: %s", patch.filename().c_str());
	
	_LOCK();
	libpd_closefile(patch.handle());
	_UNLOCK();
	patch.clear();
}