<commit_before>/*
    MMTYPES.H  : Type definitions for the more commonly used type statements.

    By <NAME> of Divine Entertainment.
    Dated sometime in the early 21st century!

    This file is used by Mikmod for compiling Mikmod.  However, nothing in this
    file is required to USE Mikmod.  Typedefs required for the use of Mikmod
    (those used in mikmod.h) are actually *IN* mikmod.h.  This is done to keep
    the typedef overhead required to use mikmod to a bare minimum.
*/



#ifndef TDEFS_H
#define TDEFS_H

#ifdef __GNUC__
#ifndef __cdecl
#define __cdecl
#endif
#endif

#ifdef __WATCOMC__
#define   inline
#endif


// THE WARNINGS!  THEY ARE FINALLY GONE!!!
// Visual C, the boon devil of my existence, conceeds defeat with the discovery
// of the #pragma warning command.  Begone, stupid warnings!  I won't even go
// in the details how VC's warning level system is ass-backwards already.  Just
// be glad mikmod no longer streams out thousands of innane warnings.

#ifdef _MSC_VER

// Disable the pointless warning: "(big val) converted to (small val). Possible loss of data"
// Move the semi-useful warning "(small value) assigned to (big val), Conversion Supplied"
//   (useful because that conversion is kinda slow on Pentiums, usually requiring a movsx)

#pragma warning( disable : 4244 )
#pragma warning( 4 : 4761 )

#ifndef _DEBUG
// release optimizations
// /Og (global optimizations), /Os (favor small code), /Oy (no frame pointers)
#pragma optimize("gy",on)
#pragma comment(linker,"/RELEASE")
// set the 512-byte alignment .. cuts back on whitespace in output files (EXE/DLL/LIB)
#pragma comment(linker,"/opt:nowin98")

/*
#define _mm_initdebugmem()

#else

#include <crtdbg.h>

#define _mm_initdebugmem() \
{   uint tmpDbgFlag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG); \
    tmpDbgFlag |= _CRTDBG_CHECK_ALWAYS_DF; \
    _CrtSetDbgFlag(tmpDbgFlag); \
}
*/
#endif
#endif

// This included for future unicode support, or something.  Anything in
// mikmod that is an actual character string uses this type.  Things that
// want to be bytes use the std c 'char' type.

#ifndef CHAR
typedef char            CHAR;
#endif
<commit_msg>Bad Air!  Don't put linker options in #pragmas in your headers...  ;)  specifically, this fixes lots of VC7 linking warnings<commit_after>/*
    MMTYPES.H  : Type definitions for the more commonly used type statements.

    By <NAME> of Divine Entertainment.
    Dated sometime in the early 21st century!

    This file is used by Mikmod for compiling Mikmod.  However, nothing in this
    file is required to USE Mikmod.  Typedefs required for the use of Mikmod
    (those used in mikmod.h) are actually *IN* mikmod.h.  This is done to keep
    the typedef overhead required to use mikmod to a bare minimum.
*/



#ifndef TDEFS_H
#define TDEFS_H

#ifdef __GNUC__
#ifndef __cdecl
#define __cdecl
#endif
#endif

#ifdef __WATCOMC__
#define   inline
#endif


// THE WARNINGS!  THEY ARE FINALLY GONE!!!
// Visual C, the boon devil of my existence, conceeds defeat with the discovery
// of the #pragma warning command.  Begone, stupid warnings!  I won't even go
// in the details how VC's warning level system is ass-backwards already.  Just
// be glad mikmod no longer streams out thousands of innane warnings.

#ifdef _MSC_VER

// Disable the pointless warning: "(big val) converted to (small val). Possible loss of data"
// Move the semi-useful warning "(small value) assigned to (big val), Conversion Supplied"
//   (useful because that conversion is kinda slow on Pentiums, usually requiring a movsx)

#pragma warning( disable : 4244 )
#pragma warning( 4 : 4761 )

#endif

// This included for future unicode support, or something.  Anything in
// mikmod that is an actual character string uses this type.  Things that
// want to be bytes use the std c 'char' type.

#ifndef CHAR
typedef char            CHAR;
#endif

{'fraction_non_alphanumeric': 0.079328165374677, 'fraction_numerical': 0.007235142118863049, 'mean_word_length': 3.5973871733966747, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1343744', 'n_tokens_mistral': 1246, 'n_tokens_neox': 1163, 'n_words': 529}