<commit_before>#include <time.h>

// flushkeys and getUpdateRate does not work, due to the ordering of the imports in monkey

class diddy
{
	public:

	// only accurate to 1 second 
	static int systemMillisecs() {
		time_t seconds;
		seconds = time (NULL);
		return seconds * 1000;
	}

	static void flushKeys() {
		for( int i=0;i<512;++i ){
			//app->input->keyStates[i]&=0x100;
		}
	}
	
	static int getUpdateRate() {
		return 0;
		//return app->updateRate;
	}
	
	static void showMouse()
	{
	}
	static void hideMouse()
	{
	}
	
};<commit_msg>Re-enabled flushKeys and getUpdateRate for iOS (import mojo must be before diddy)<commit_after>#include <time.h>

class diddy
{
	public:

	// only accurate to 1 second 
	static int systemMillisecs() {
		time_t seconds;
		seconds = time (NULL);
		return seconds * 1000;
	}

	static void flushKeys() {
		for( int i=0;i<512;++i ){
			app->input->keyStates[i]&=0x100;
		}
	}
	
	static int getUpdateRate() {
		return app->updateRate;
	}
	
	static void showMouse()
	{
	}
	static void hideMouse()
	{
	}
	
};
{'fraction_non_alphanumeric': 0.12980769230769232, 'fraction_numerical': 0.025961538461538463, 'mean_word_length': 3.3375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1660922', 'n_tokens_mistral': 431, 'n_tokens_neox': 376, 'n_words': 106}