ext/ds_tweakable.h
static bool twk__requires_loading() {
	if (!_twkCtx->loaded) {
		return true;
	}
	FILETIME now;
	if (twk__get_filetime(_twkCtx->fileName, &now)) {
		if (CompareFileTime(&_twkCtx->filetime, &now) == -1) {
			_twkCtx->filetime = now;
			return true;
		}
	}
	return false;
}
// -------------------------------------------------------
// internal check if the file should be (re)loaded
// -------------------------------------------------------
internal check if the file should be (re)loaded
internal check if the file should be ( re ) loaded
static bool twk__requires_loading() {
	if (!_twkCtx->loaded) {
		return true;
	}
	FILETIME now;
	if (twk__get_filetime(_twkCtx->fileName, &now)) {
		if (CompareFileTime(&_twkCtx->filetime, &now) == -1) {
			_twkCtx->filetime = now;
			return true;
		}
	}
	return false;
}
static bool twk__requires_loading ( ) { if ( ! _twkCtx -> loaded ) { return true ; } FILETIME now ; if ( twk__get_filetime ( _twkCtx -> fileName , & now ) ) { if ( CompareFileTime ( & _twkCtx -> filetime , & now ) == -1 ) { _twkCtx -> filetime = now ; return true ; } } return false ; }
internal check if the file should be (re)loaded
internal check if the file should be ( re ) loaded