<commit_before>#ifndef __SIEGE_COMMON_H__
#define __SIEGE_COMMON_H__

#include <stdint.h>

typedef void     SGvoid;
typedef uint8_t  SGbool;
typedef uint32_t SGenum;

typedef uint8_t  SGchar;
typedef uint16_t SGwchar;
typedef uint32_t SGdchar;

typedef int8_t   SGbyte;
typedef uint8_t  SGubyte;
typedef int16_t  SGshort;
typedef uint16_t SGushort;
typedef int32_t  SGint;
typedef uint32_t SGuint;
typedef int64_t  SGlong;
typedef uint64_t SGulong;

typedef float  SGfloat;
typedef double SGdouble;

#ifdef __GCC__
#define SG_DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)
#define SG_DEPRECATED __declspec(deprecated)
#else
#define SG_DEPRECATED
#endif // __GCC__

// use test
#define SIEGE_TEST

#ifndef SG_EXPORT
//#define SG_EXPORT _cdecl
#define SG_EXPORT
#endif

#define SG_INTERFACE_VMAJOR 0
#define SG_INTERFACE_VMINOR 1
#define SG_INTERFACE_VPATCH 5

#define SG_TRUE  1
#define SG_FALSE 0

#define SG_OK            0
#define SG_NO_ERROR      0
#define SG_UNKNOWN_ERROR 1
#define SG_INVALID_VALUE 2

#define SG_MODULE_WINDOW       0x01
#define SG_MODULE_INPUT        0x02
#define SG_MODULE_CORE         (SG_MODULE_WINDOW | SG_MODULE_INPUT)
#define SG_MODULE_GRAPHICS     0x04
#define SG_MODULE_GRAPHICSLOAD 0x08
#define SG_MODULE_AUDIO        0x10
#define SG_MODULE_AUDIOLOAD    0x20
#define SG_MODULE_FONTLOAD     0x40
#define SG_MODULE_PHYSICS      0x80

#define SG_AUDIO_FORMAT_S8  0x01
#define SG_AUDIO_FORMAT_S16 0x02
#define SG_AUDIO_FORMAT_S24 0x03
#define SG_AUDIO_FORMAT_S32 0x04

#define SG_AUDIO_FORMAT_U8  0x05
#define SG_AUDIO_FORMAT_U16 0x06
#define SG_AUDIO_FORMAT_U24 0x07
#define SG_AUDIO_FORMAT_U32 0x08

#define SG_AUDIO_FORMAT_F   0x0A
#define SG_AUDIO_FORMAT_D   0x0B
<commit_msg>added new module types<commit_after>#ifndef __SIEGE_COMMON_H__
#define __SIEGE_COMMON_H__

#include <stdint.h>

typedef void     SGvoid;
typedef uint8_t  SGbool;
typedef uint32_t SGenum;

typedef uint8_t  SGchar;
typedef uint16_t SGwchar;
typedef uint32_t SGdchar;

typedef int8_t   SGbyte;
typedef uint8_t  SGubyte;
typedef int16_t  SGshort;
typedef uint16_t SGushort;
typedef int32_t  SGint;
typedef uint32_t SGuint;
typedef int64_t  SGlong;
typedef uint64_t SGulong;

typedef float  SGfloat;
typedef double SGdouble;

#ifdef __GCC__
#define SG_DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)
#define SG_DEPRECATED __declspec(deprecated)
#else
#define SG_DEPRECATED
#endif // __GCC__

// use test
#define SIEGE_TEST

#ifndef SG_EXPORT
//#define SG_EXPORT _cdecl
#define SG_EXPORT
#endif

#define SG_INTERFACE_VMAJOR 0
#define SG_INTERFACE_VMINOR 1
#define SG_INTERFACE_VPATCH 5

#define SG_TRUE  1
#define SG_FALSE 0

#define SG_OK            0
#define SG_NO_ERROR      0
#define SG_UNKNOWN_ERROR 1
#define SG_INVALID_VALUE 2

#define SG_MODULE_WINDOW       0x0001
#define SG_MODULE_INPUT        0x0002
#define SG_MODULE_CORE         (SG_MODULE_WINDOW | SG_MODULE_INPUT)
#define SG_MODULE_GRAPHICS     0x0004
#define SG_MODULE_GRAPHICSLOAD 0x0008
#define SG_MODULE_AUDIO        0x0010
#define SG_MODULE_AUDIOLOAD    0x0020
#define SG_MODULE_FONTLOAD     0x0040
#define SG_MODULE_PHYSICS      0x0080
#define SG_MODULE_AI	       0x0100

#define SG_AUDIO_FORMAT_S8  0x01
#define SG_AUDIO_FORMAT_S16 0x02
#define SG_AUDIO_FORMAT_S24 0x03
#define SG_AUDIO_FORMAT_S32 0x04

#define SG_AUDIO_FORMAT_U8  0x05
#define SG_AUDIO_FORMAT_U16 0x06
#define SG_AUDIO_FORMAT_U24 0x07
#define SG_AUDIO_FORMAT_U32 0x08

#define SG_AUDIO_FORMAT_F   0x0A
#define SG_AUDIO_FORMAT_D   0x0B

{'fraction_non_alphanumeric': 0.04703534777651083, 'fraction_numerical': 0.0612884834663626, 'mean_word_length': 5.311151079136691, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1184959', 'n_tokens_mistral': 1669, 'n_tokens_neox': 1394, 'n_words': 338}