<commit_before>/**
  * Win32 UTF-8 wrapper
  *
  * ----
  *
  * Main include file.
  */

#pragma once

#ifdef __cplusplus
extern "C" {
#endif

#include <Windows.h>
#include <CommDlg.h>
#include <MMSystem.h>
#include <dsound.h>
#include <psapi.h>
#include <ShellAPI.h>
#include <Shlwapi.h>
#include <ShlObj.h>
#include <assert.h>
#include <stdio.h>
#include <WinInet.h>

#include "entry.h"
#include "macros.h"
#include "message_enum.h"
#include "utf.h"

#include "comdlg32_dll.h"
#include "dsound_dll.h"
#include "gdi32_dll.h"
#include "kernel32_dll.h"
#include "msvcrt_dll.h"
#include "psapi_dll.h"
#include "shell32_dll.h"
#include "shlwapi_dll.h"
#include "user32_dll.h"
#include "version_dll.h"
#include "wininet_dll.h"

typedef struct {
	// Name of the original ANSI function (e.g. "CreateFileA")
	const char *ansi_name;
	// Pointer to our UTF-8 version (e.g. CreateFileU)
	const void *utf8_ptr;
} w32u8_pair_t;
<commit_msg>MinGW requires lowercase Win32 header file names on case-sensitive systems.<commit_after>/**
  * Win32 UTF-8 wrapper
  *
  * ----
  *
  * Main include file.
  */

#pragma once

#ifdef __cplusplus
extern "C" {
#endif

// These must be lowercase to work with MinGW on case-sensitive systems.
#include <windows.h>
#include <commdlg.h>
#include <mmsystem.h>
#include <dsound.h>
#include <psapi.h>
#include <shellapi.h>
#include <shlwapi.h>
#include <shlobj.h>
#include <assert.h>
#include <stdio.h>
#include <wininet.h>

#include "entry.h"
#include "macros.h"
#include "message_enum.h"
#include "utf.h"

#include "comdlg32_dll.h"
#include "dsound_dll.h"
#include "gdi32_dll.h"
#include "kernel32_dll.h"
#include "msvcrt_dll.h"
#include "psapi_dll.h"
#include "shell32_dll.h"
#include "shlwapi_dll.h"
#include "user32_dll.h"
#include "version_dll.h"
#include "wininet_dll.h"

typedef struct {
	// Name of the original ANSI function (e.g. "CreateFileA")
	const char *ansi_name;
	// Pointer to our UTF-8 version (e.g. CreateFileU)
	const void *utf8_ptr;
} w32u8_pair_t;

{'fraction_non_alphanumeric': 0.15469613259668508, 'fraction_numerical': 0.019085886489201405, 'mean_word_length': 4.502762430939226, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '5064578', 'n_tokens_mistral': 889, 'n_tokens_neox': 835, 'n_words': 200}