<commit_before>#Translation of sqltypes.h; C typealiases for SQL functions
#http://msdn.microsoft.com/en-us/library/windows/desktop/ms716298(v=vs.85).aspx
#http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx
typealias SQLCHAR       Cuchar
typealias SQLSCHAR      Cchar
typealias SQLWCHAR      Uint16
typealias SQLDATE       Cuchar
typealias SQLDECIMAL    Cdouble
typealias SQLDOUBLE     Cdouble
typealias SQLFLOAT      Cdouble
typealias SQLINTEGER    Cint
typealias SQLUINTEGER   Cuint
typealias SQLSMALLINT   Cshort
typealias SQLUSMALLINT  Cushort

if WORD_SIZE == 64
	typealias SQLLEN        Int64
	typealias SQLULEN       Uint64
	typealias SQLSETPOSIROW Uint64
else
	typealias SQLLEN        SQLINTEGER
	typealias SQLULEN       SQLUINTEGER
	typealias SQLSETPOSIROW SQLUSMALLINT
end

typealias SQLROWCOUNT   SQLULEN
typealias SQLROWSETSIZE SQLULEN
typealias SQLTRANSID    SQLULEN
typealias SQLROWOFFSET  SQLLEN
typealias SQLNUMERIC    Cuchar
typealias SQLPOINTER    Ptr{Void}
typealias SQLREAL       Cfloat
typealias SQLTIME       Cuchar
typealias SQLTIMESTAMP  Cuchar
typealias SQLVARCHAR    Cuchar
typealias SQLRETURN     SQLSMALLINT
typealias SQLHANDLE     Ptr{Void}
typealias SQLHENV       SQLHANDLE
typealias SQLHDBC       SQLHANDLE
typealias SQLHSTMT      SQLHANDLE
typealias SQLHDESC      SQLHANDLE
typealias ULONG         Cuint
typealias PULONG        Ptr{ULONG}
typealias USHORT        Cushort
typealias PUSHORT       Ptr{USHORT}
typealias UCHAR         Cuchar
typealias PUCHAR        Ptr{Cuchar}
typealias PSZ           Ptr{Cchar}<commit_msg>Reorder some of the typealiases so that like types are together. Also made sure SQLNUMERIC points to a Cdouble<commit_after>#Translation of sqltypes.h; C typealiases for SQL functions
#http://msdn.microsoft.com/en-us/library/windows/desktop/ms716298(v=vs.85).aspx
#http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx
typealias SQLCHAR       Uint8
typealias SQLSCHAR      Uint8
typealias SQLVARCHAR    Uint8
typealias SQLWCHAR      Uint16
typealias SQLDECIMAL    Cdouble
typealias SQLNUMERIC    Cdouble
typealias SQLDOUBLE     Cdouble
typealias SQLFLOAT      Cdouble
typealias SQLREAL       Cfloat
typealias SQLINTEGER    Cint
typealias SQLUINTEGER   Cuint
typealias SQLSMALLINT   Cshort
typealias SQLUSMALLINT  Cushort
typealias SQLTIME       Cuchar
typealias SQLTIMESTAMP  Cuchar

if WORD_SIZE == 64
	typealias SQLLEN        Int64
	typealias SQLULEN       Uint64
	typealias SQLSETPOSIROW Uint64
else
	typealias SQLLEN        SQLINTEGER
	typealias SQLULEN       SQLUINTEGER
	typealias SQLSETPOSIROW SQLUSMALLINT
end

typealias SQLROWCOUNT   SQLULEN
typealias SQLROWSETSIZE SQLULEN
typealias SQLTRANSID    SQLULEN
typealias SQLROWOFFSET  SQLLEN
typealias SQLPOINTER    Ptr{Void}
typealias SQLRETURN     SQLSMALLINT
typealias SQLHANDLE     Ptr{Void}
typealias SQLHENV       SQLHANDLE
typealias SQLHDBC       SQLHANDLE
typealias SQLHSTMT      SQLHANDLE
typealias SQLHDESC      SQLHANDLE
typealias ULONG         Cuint
typealias PULONG        Ptr{ULONG}
typealias USHORT        Cushort
typealias PUSHORT       Ptr{USHORT}
typealias UCHAR         Cuchar
typealias PUCHAR        Ptr{Cuchar}
typealias PSZ           Ptr{Cchar}
{'fraction_non_alphanumeric': 0.0337984496124031, 'fraction_numerical': 0.017054263565891473, 'mean_word_length': 3.575886524822695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6768829', 'n_tokens_mistral': 1086, 'n_tokens_neox': 1027, 'n_words': 284}