<commit_before>enum { MB_OK = 0 };

// force the calling convention to be stack-only
// note that it's callee cleanup - need to hand edit for this
extern int _MessageBoxA(long, ...);

main()
{
	char buf[8];
	int i;

	buf[0] = 'h';
	buf[1] = 'i';
	buf[2] = ' ';
	buf[4] = 0;

	for(i = 0; i < 10; i++){
		buf[3] = i + '0';

		_MessageBoxA(0, buf, "Caption", MB_OK);
	}

	return 5;
}<commit_msg>Compiler supports stdcall (except name mangling)<commit_after>enum { MB_OK, MB_OK_CANCEL };

// note that it's callee cleanup - need to hand edit for this
extern __attribute__((stdcall)) int
_MessageBoxA(int, char *, char *, int)
;//asm("_MessageBoxA@16");

main()
{
	char buf[8];
	int i;

	buf[0] = 'h';
	buf[1] = 'i';
	buf[2] = ' ';
	buf[4] = 0;

	for(i = 0; i < 10; i++){
		buf[3] = i + '0';

		// this currently calls the _cdecl impl, so we aren't doing stack clean that we should
		_MessageBoxA(0, buf, "Caption", MB_YES_CANCEL);
	}

	return 5;
}
{'fraction_non_alphanumeric': 0.18027571580063625, 'fraction_numerical': 0.030752916224814422, 'mean_word_length': 3.431924882629108, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5341109', 'n_tokens_mistral': 423, 'n_tokens_neox': 388, 'n_words': 118}