<commit_before>#ifndef __COMPILERINFO_H__
#define __COMPILERINFO_H__

#ifdef __cplusplus
extern "C" {
#endif
	
typedef struct
{
	double progress1;
	double progress2;
	char task[1000];
	char file[1000];
	char item[1000];
	int funcs;
	int objs;
	int globs;
	int strings;
	int resources;
	bool newComments;
	bool finished;
	bool success;
} compilerInfo;

enum whichPerc {
	P_TOP,
	P_BOTTOM
};

enum compilerStatusText {
	COMPILER_TXT_ACTION,
	COMPILER_TXT_FILENAME,
	COMPILER_TXT_ITEM
};

void setCompilerText (const compilerStatusText where, const char * theText);
void setCompilerStats (int funcs, int objTypes, int files, int globals, int strings);	
	
void setInfoReceiver(void (*infoReceiver)(compilerInfo *));
void clearRect(int i, int whichBox);
void percRect(unsigned int i, int whichBox);

void compilerCommentsUpdated();
void setFinished(bool success);

#ifdef __cplusplus
}
#endif
		
#endif
<commit_msg>Dev Kit: Added an #ifdef.<commit_after>#ifndef __COMPILERINFO_H__
#define __COMPILERINFO_H__

#ifdef __cplusplus
extern "C" {
#endif
	
typedef struct
{
	double progress1;
	double progress2;
	char task[1000];
	char file[1000];
	char item[1000];
	int funcs;
	int objs;
	int globs;
	int strings;
	int resources;
	bool newComments;
	bool finished;
	bool success;
} compilerInfo;

enum whichPerc {
	P_TOP,
	P_BOTTOM
};

enum compilerStatusText {
	COMPILER_TXT_ACTION,
	COMPILER_TXT_FILENAME,
	COMPILER_TXT_ITEM
};

#ifdef __APPLE__
	void setCompilerText (const compilerStatusText, const char * theText);
#else
	void setCompilerText (const compilerStatusText where, const char * theText);
#endif
void setCompilerStats (int funcs, int objTypes, int files, int globals, int strings);	
	
void setInfoReceiver(void (*infoReceiver)(compilerInfo *));
void clearRect(int i, int whichBox);
void percRect(unsigned int i, int whichBox);

void compilerCommentsUpdated();
void setFinished(bool success);

#ifdef __cplusplus
}
#endif
		
#endif

{'fraction_non_alphanumeric': 0.08837209302325581, 'fraction_numerical': 0.014470284237726097, 'mean_word_length': 5.816901408450704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4015620', 'n_tokens_mistral': 714, 'n_tokens_neox': 672, 'n_words': 195}