<commit_before>//#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>

#ifdef _DEBUG
#ifndef DBG_NEW
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
#define new DBG_NEW
#endif
#endif  // _DEBUG

#include <enet/enet.h>

#define SL_IMPL

#include "starlight_win32.h"
#include "starlight_graphics.h"
#include "starlight_game.h"
#include <imgui.h>
#include <atomic>
#include "starlight_thread_safe_queue.h"
#include "starlight_log.h"
#include "starlight_memory.h"
#include <process.h>

#include "Objbase.h"

#ifdef SL_CL
  static const wchar_t* s_dllName = L"starlight.dll";
#else
  #ifdef SL_UB
    #ifdef _DEBUG
      #ifdef _WIN64
        static const wchar_t* s_dllName = L"starlight_ub_x64_UB Debug.dll";
      #else
        static const wchar_t* s_dllName = L"starlight_ub_Win32_UB Debug.dll";
      #endif
    #endif
  #else
    #ifdef _DEBUG
      #ifdef _WIN64
        static const wchar_t* s_dllName = L"starlight_x64_Debug.dll";
      #else
        static const wchar_t* s_dllName = L"starlight_Win32_Debug.dll";
      #endif
    #endif
  #endif
#endif

// Globals
static std::mutex s_mutex;
static graphics::API* g_renderApi;

static HWND s_hwnd = nullptr;
static util::ThreadSafeQueue<WindowEvent>* s_queue;
static std::atomic_bool s_running;<commit_msg>Add comments to includes in starlight_win32.cpp<commit_after>//#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>

#ifdef _DEBUG
#ifndef DBG_NEW
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
#define new DBG_NEW
#endif
#endif  // _DEBUG

#include <enet/enet.h>

#define SL_IMPL

#include "starlight_win32.h"
#include "starlight_graphics.h"
#include "starlight_game.h"
#include <imgui.h>
#include <atomic>
#include "starlight_thread_safe_queue.h"
#include "starlight_log.h"
#include "starlight_memory.h"

#include <process.h> // _beginthreadex
#include <Objbase.h> // CoInitializeEx, CoUninitialize

#ifdef SL_CL
  static const wchar_t* s_dllName = L"starlight.dll";
#else
  #ifdef SL_UB
    #ifdef _DEBUG
      #ifdef _WIN64
        static const wchar_t* s_dllName = L"starlight_ub_x64_UB Debug.dll";
      #else
        static const wchar_t* s_dllName = L"starlight_ub_Win32_UB Debug.dll";
      #endif
    #endif
  #else
    #ifdef _DEBUG
      #ifdef _WIN64
        static const wchar_t* s_dllName = L"starlight_x64_Debug.dll";
      #else
        static const wchar_t* s_dllName = L"starlight_Win32_Debug.dll";
      #endif
    #endif
  #endif
#endif

// Globals
static std::mutex s_mutex;
static graphics::API* g_renderApi;

static HWND s_hwnd = nullptr;
static util::ThreadSafeQueue<WindowEvent>* s_queue;
static std::atomic_bool s_running;
{'fraction_non_alphanumeric': 0.10518407212622088, 'fraction_numerical': 0.011269722013523666, 'mean_word_length': 4.201171875, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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': '4704275', 'n_tokens_mistral': 1067, 'n_tokens_neox': 1008, 'n_words': 231}