<commit_before>//-----------------------------------------------------------------------------
//
// ImageLib Utility Sources
// Copyright (C) 2000-2002 by <NAME>
// Last modified: 05/20/2001 <--Y2K Compliant! =]
//
// Filename: src-ILU/src/ilu_main.c
//
// Description: Startup functions
//
//-----------------------------------------------------------------------------


#include "ilu_internal.h"
#include "ilu_states.h"
#ifdef _WIN32
	#define WIN32_LEAN_AND_MEAN
	#include <windows.h>
#endif//_WIN32


#ifdef _WIN32

BOOL ILAPIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
	hModule;  ul_reason_for_call;  lpReserved;
	
	if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
		//iluInit();
	}

	return TRUE;
}

#endif


ILvoid ILAPIENTRY iluInit()
{
	// Used mostly for rotations
	IL_PI = 4 * atan(1);		// precomputed value of pi
	IL_DEGCONV = IL_PI / 180;	// division is slow on some computers
	return;
}


//#ifndef _WIN32_WCE
ILuint ILAPIENTRY iluLoadImage(const ILstring FileName)<commit_msg>some libtool changes<commit_after>//-----------------------------------------------------------------------------
//
// ImageLib Utility Sources
// Copyright (C) 2000-2002 by <NAME>
// Last modified: 05/20/2001 <--Y2K Compliant! =]
//
// Filename: src-ILU/src/ilu_main.c
//
// Description: Startup functions
//
//-----------------------------------------------------------------------------


#include "ilu_internal.h"
#include "ilu_states.h"
#ifdef _WIN32
	#define WIN32_LEAN_AND_MEAN
	#include <windows.h>
#endif//_WIN32


/* Only needed for MSVC++ unless extended to actually do something =) */
#if defined(_WIN32) && defined(_MSC_VER)

BOOL ILAPIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
	hModule;  ul_reason_for_call;  lpReserved;
	
	if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
		//iluInit();
	}

	return TRUE;
}

#endif


ILvoid ILAPIENTRY iluInit()
{
	// Used mostly for rotations
	IL_PI = 4 * atan(1);		// precomputed value of pi
	IL_DEGCONV = IL_PI / 180;	// division is slow on some computers
	return;
}


//#ifndef _WIN32_WCE
ILuint ILAPIENTRY iluLoadImage(const ILstring FileName)
{'fraction_non_alphanumeric': 0.2505800464037123, 'fraction_numerical': 0.029698375870069606, 'mean_word_length': 2.133720930232558, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '7220425', 'n_tokens_mistral': 787, 'n_tokens_neox': 714, 'n_words': 174}