@xnetx/tinyc-native-x86_64-w64-mingw32 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/natives/x86_64-w64-mingw32/toolchain/x86_64-w64-mingw32/tinyc.exe +0 -0
  2. package/package.json +1 -1
  3. package/sysroot/x86_64-w64-mingw32/include/libtcc.h +125 -116
  4. package/sysroot/x86_64-w64-mingw32/include/tinyc_io.h +131 -123
  5. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/_mingw.h +171 -171
  6. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/arm_neon.h +3585 -0
  7. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/assert.h +62 -62
  8. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx2intrin.h +93 -0
  9. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512bwintrin.h +128 -0
  10. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512cdintrin.h +31 -0
  11. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512dqintrin.h +123 -0
  12. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512fintrin.h +1075 -0
  13. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vbmiintrin.h +30 -0
  14. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vlintrin.h +1633 -0
  15. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vnniintrin.h +33 -0
  16. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avxintrin.h +675 -0
  17. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/conio.h +409 -409
  18. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/ctype.h +281 -281
  19. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dir.h +31 -31
  20. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/direct.h +68 -68
  21. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dirent.h +135 -135
  22. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dos.h +55 -55
  23. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/emmintrin.h +213 -0
  24. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/errno.h +75 -75
  25. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/excpt.h +123 -123
  26. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/f16cintrin.h +29 -0
  27. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fcntl.h +52 -52
  28. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fenv.h +108 -108
  29. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/float.h +75 -75
  30. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fmaintrin.h +141 -0
  31. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/immintrin.h +21 -0
  32. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/inttypes.h +297 -297
  33. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/io.h +418 -418
  34. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/iso646.h +36 -36
  35. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/limits.h +116 -116
  36. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/locale.h +91 -91
  37. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/malloc.h +181 -181
  38. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/math.h +497 -497
  39. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/mem.h +13 -13
  40. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/memory.h +40 -40
  41. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/process.h +176 -176
  42. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/riscv_vector.h +12334 -0
  43. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/conio_s.h +42 -42
  44. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/crtdbg_s.h +19 -19
  45. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/io_s.h +33 -33
  46. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/mbstring_s.h +52 -52
  47. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/search_s.h +25 -25
  48. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdio_s.h +145 -145
  49. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdlib_s.h +67 -67
  50. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stralign_s.h +30 -30
  51. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/string_s.h +41 -41
  52. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/sys/timeb_s.h +34 -34
  53. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/tchar_s.h +266 -266
  54. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/time_s.h +61 -61
  55. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/wchar_s.h +128 -128
  56. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/setjmp.h +199 -199
  57. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/share.h +28 -28
  58. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/signal.h +63 -63
  59. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/smmintrin.h +74 -0
  60. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdalign.h +16 -16
  61. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdarg.h +14 -14
  62. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdatomic.h +171 -171
  63. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdbool.h +11 -11
  64. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stddef.h +39 -39
  65. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdint.h +212 -212
  66. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdio.h +429 -429
  67. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdlib.h +606 -606
  68. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdnoreturn.h +7 -7
  69. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/string.h +164 -164
  70. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/fcntl.h +13 -13
  71. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/file.h +14 -14
  72. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/locking.h +30 -30
  73. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/stat.h +290 -290
  74. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/time.h +69 -69
  75. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/timeb.h +133 -133
  76. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/types.h +123 -123
  77. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/unistd.h +14 -14
  78. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/utime.h +146 -146
  79. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcc/tcc_libm.h +618 -618
  80. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tccdefs.h +338 -338
  81. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcclib.h +82 -82
  82. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tchar.h +1102 -1102
  83. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tgmath.h +89 -89
  84. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/time.h +287 -287
  85. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tmmintrin.h +19 -0
  86. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/uchar.h +33 -33
  87. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/unistd.h +1 -1
  88. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/vadefs.h +11 -11
  89. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/values.h +4 -4
  90. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/varargs.h +12 -12
  91. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wchar.h +873 -873
  92. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wctype.h +172 -172
  93. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetsd.h +149 -149
  94. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetyps.h +85 -85
  95. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/guiddef.h +156 -156
  96. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/poppack.h +8 -8
  97. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack1.h +8 -8
  98. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack2.h +8 -8
  99. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack4.h +8 -8
  100. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack8.h +8 -8
  101. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/qos.h +72 -72
  102. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/shellapi.h +59 -59
  103. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winbase.h +2966 -2966
  104. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wincon.h +309 -309
  105. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windef.h +293 -293
  106. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windows.h +127 -127
  107. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winerror.h +3166 -3166
  108. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wingdi.h +4080 -4080
  109. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnls.h +778 -778
  110. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnt.h +5994 -5994
  111. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winreg.h +272 -272
  112. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winsock2.h +1474 -1474
  113. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winuser.h +5652 -5652
  114. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winver.h +160 -160
  115. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2ipdef.h +21 -21
  116. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2tcpip.h +391 -391
  117. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/xmmintrin.h +170 -0
  118. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/gdi32.def +337 -337
  119. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/kernel32.def +776 -776
  120. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/libtcc1.a +0 -0
  121. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/msvcrt.def +1320 -1320
  122. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/runmain.o +0 -0
  123. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/user32.def +658 -658
  124. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/ws2_32.def +198 -198
  125. package/sysroot/x86_64-w64-mingw32/manifest.json +1 -1
@@ -1,7 +1,7 @@
1
- #ifndef _STDNORETURN_H
2
- #define _STDNORETURN_H
3
-
4
- /* ISOC11 noreturn */
5
- #define noreturn _Noreturn
6
-
7
- #endif /* _STDNORETURN_H */
1
+ #ifndef _STDNORETURN_H
2
+ #define _STDNORETURN_H
3
+
4
+ /* ISOC11 noreturn */
5
+ #define noreturn _Noreturn
6
+
7
+ #endif /* _STDNORETURN_H */
@@ -1,164 +1,164 @@
1
- /**
2
- * This file has no copyright assigned and is placed in the Public Domain.
3
- * This file is part of the w64 mingw-runtime package.
4
- * No warranty is given; refer to the file DISCLAIMER within this package.
5
- */
6
- #ifndef _INC_STRING
7
- #define _INC_STRING
8
-
9
- #include <_mingw.h>
10
-
11
- #ifdef __cplusplus
12
- extern "C" {
13
- #endif
14
-
15
- #ifndef _NLSCMP_DEFINED
16
- #define _NLSCMP_DEFINED
17
- #define _NLSCMPERROR 2147483647
18
- #endif
19
-
20
- #ifndef NULL
21
- #ifdef __cplusplus
22
- #define NULL 0
23
- #else
24
- #define NULL ((void *)0)
25
- #endif
26
- #endif
27
-
28
- #define _WConst_return _CONST_RETURN
29
-
30
- #ifndef _CRT_MEMORY_DEFINED
31
- #define _CRT_MEMORY_DEFINED
32
- _CRTIMP void *__cdecl _memccpy(void *_Dst,const void *_Src,int _Val,size_t _MaxCount);
33
- _CONST_RETURN void *__cdecl memchr(const void *_Buf ,int _Val,size_t _MaxCount);
34
- _CRTIMP int __cdecl _memicmp(const void *_Buf1,const void *_Buf2,size_t _Size);
35
- _CRTIMP int __cdecl _memicmp_l(const void *_Buf1,const void *_Buf2,size_t _Size,_locale_t _Locale);
36
- int __cdecl memcmp(const void *_Buf1,const void *_Buf2,size_t _Size);
37
- void *__cdecl memcpy(void *_Dst,const void *_Src,size_t _Size);
38
- void *__cdecl memset(void *_Dst,int _Val,size_t _Size);
39
- #ifndef NO_OLDNAMES
40
- void *__cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size);
41
- int __cdecl memicmp(const void *_Buf1,const void *_Buf2,size_t _Size);
42
- #endif
43
- #endif
44
- char *__cdecl _strset(char *_Str,int _Val);
45
- char *__cdecl strcpy(char *_Dest,const char *_Source);
46
- char *__cdecl strcat(char *_Dest,const char *_Source);
47
- int __cdecl strcmp(const char *_Str1,const char *_Str2);
48
- size_t __cdecl strlen(const char *_Str);
49
- #if 0
50
- size_t __cdecl strnlen(const char *_Str,size_t _MaxCount);
51
- #endif
52
- void *__cdecl memmove(void *_Dst,const void *_Src,size_t _Size);
53
- _CRTIMP char *__cdecl _strdup(const char *_Src);
54
- _CONST_RETURN char *__cdecl strchr(const char *_Str,int _Val);
55
- _CRTIMP int __cdecl _stricmp(const char *_Str1,const char *_Str2);
56
- _CRTIMP int __cdecl _strcmpi(const char *_Str1,const char *_Str2);
57
- _CRTIMP int __cdecl _stricmp_l(const char *_Str1,const char *_Str2,_locale_t _Locale);
58
- int __cdecl strcoll(const char *_Str1,const char *_Str2);
59
- _CRTIMP int __cdecl _strcoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale);
60
- _CRTIMP int __cdecl _stricoll(const char *_Str1,const char *_Str2);
61
- _CRTIMP int __cdecl _stricoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale);
62
- _CRTIMP int __cdecl _strncoll (const char *_Str1,const char *_Str2,size_t _MaxCount);
63
- _CRTIMP int __cdecl _strncoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale);
64
- _CRTIMP int __cdecl _strnicoll (const char *_Str1,const char *_Str2,size_t _MaxCount);
65
- _CRTIMP int __cdecl _strnicoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale);
66
- size_t __cdecl strcspn(const char *_Str,const char *_Control);
67
- _CRTIMP char *__cdecl _strerror(const char *_ErrMsg);
68
- char *__cdecl strerror(int);
69
- _CRTIMP char *__cdecl _strlwr(char *_String);
70
- char *strlwr_l(char *_String,_locale_t _Locale);
71
- char *__cdecl strncat(char *_Dest,const char *_Source,size_t _Count);
72
- int __cdecl strncmp(const char *_Str1,const char *_Str2,size_t _MaxCount);
73
- _CRTIMP int __cdecl _strnicmp(const char *_Str1,const char *_Str2,size_t _MaxCount);
74
- _CRTIMP int __cdecl _strnicmp_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale);
75
- char *strncpy(char *_Dest,const char *_Source,size_t _Count);
76
- _CRTIMP char *__cdecl _strnset(char *_Str,int _Val,size_t _MaxCount);
77
- _CONST_RETURN char *__cdecl strpbrk(const char *_Str,const char *_Control);
78
- _CONST_RETURN char *__cdecl strrchr(const char *_Str,int _Ch);
79
- _CRTIMP char *__cdecl _strrev(char *_Str);
80
- size_t __cdecl strspn(const char *_Str,const char *_Control);
81
- _CONST_RETURN char *__cdecl strstr(const char *_Str,const char *_SubStr);
82
- char *__cdecl strtok(char *_Str,const char *_Delim);
83
- _CRTIMP char *__cdecl _strupr(char *_String);
84
- _CRTIMP char *_strupr_l(char *_String,_locale_t _Locale);
85
- size_t __cdecl strxfrm(char *_Dst,const char *_Src,size_t _MaxCount);
86
- _CRTIMP size_t __cdecl _strxfrm_l(char *_Dst,const char *_Src,size_t _MaxCount,_locale_t _Locale);
87
-
88
- #ifndef NO_OLDNAMES
89
- char *__cdecl strdup(const char *_Src);
90
- int __cdecl strcmpi(const char *_Str1,const char *_Str2);
91
- int __cdecl stricmp(const char *_Str1,const char *_Str2);
92
- char *__cdecl strlwr(char *_Str);
93
- int __cdecl strnicmp(const char *_Str1,const char *_Str,size_t _MaxCount);
94
- __CRT_INLINE int __cdecl strncasecmp (const char *__sz1, const char *__sz2, size_t __sizeMaxCompare) { return _strnicmp (__sz1, __sz2, __sizeMaxCompare); }
95
- __CRT_INLINE int __cdecl strcasecmp (const char *__sz1, const char *__sz2) { return _stricmp (__sz1, __sz2); }
96
- char *__cdecl strnset(char *_Str,int _Val,size_t _MaxCount);
97
- char *__cdecl strrev(char *_Str);
98
- char *__cdecl strset(char *_Str,int _Val);
99
- char *__cdecl strupr(char *_Str);
100
- #endif
101
-
102
- #ifndef _WSTRING_DEFINED
103
- #define _WSTRING_DEFINED
104
-
105
- _CRTIMP wchar_t *__cdecl _wcsdup(const wchar_t *_Str);
106
- wchar_t *__cdecl wcscat(wchar_t *_Dest,const wchar_t *_Source);
107
- _CONST_RETURN wchar_t *__cdecl wcschr(const wchar_t *_Str,wchar_t _Ch);
108
- int __cdecl wcscmp(const wchar_t *_Str1,const wchar_t *_Str2);
109
- wchar_t *__cdecl wcscpy(wchar_t *_Dest,const wchar_t *_Source);
110
- size_t __cdecl wcscspn(const wchar_t *_Str,const wchar_t *_Control);
111
- size_t __cdecl wcslen(const wchar_t *_Str);
112
- size_t __cdecl wcsnlen(const wchar_t *_Src,size_t _MaxCount);
113
- wchar_t *wcsncat(wchar_t *_Dest,const wchar_t *_Source,size_t _Count);
114
- int __cdecl wcsncmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
115
- wchar_t *wcsncpy(wchar_t *_Dest,const wchar_t *_Source,size_t _Count);
116
- _CONST_RETURN wchar_t *__cdecl wcspbrk(const wchar_t *_Str,const wchar_t *_Control);
117
- _CONST_RETURN wchar_t *__cdecl wcsrchr(const wchar_t *_Str,wchar_t _Ch);
118
- size_t __cdecl wcsspn(const wchar_t *_Str,const wchar_t *_Control);
119
- _CONST_RETURN wchar_t *__cdecl wcsstr(const wchar_t *_Str,const wchar_t *_SubStr);
120
- wchar_t *__cdecl wcstok(wchar_t *_Str,const wchar_t *_Delim);
121
- _CRTIMP wchar_t *__cdecl _wcserror(int _ErrNum);
122
- _CRTIMP wchar_t *__cdecl __wcserror(const wchar_t *_Str);
123
- _CRTIMP int __cdecl _wcsicmp(const wchar_t *_Str1,const wchar_t *_Str2);
124
- _CRTIMP int __cdecl _wcsicmp_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale);
125
- _CRTIMP int __cdecl _wcsnicmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
126
- _CRTIMP int __cdecl _wcsnicmp_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale);
127
- _CRTIMP wchar_t *__cdecl _wcsnset(wchar_t *_Str,wchar_t _Val,size_t _MaxCount);
128
- _CRTIMP wchar_t *__cdecl _wcsrev(wchar_t *_Str);
129
- _CRTIMP wchar_t *__cdecl _wcsset(wchar_t *_Str,wchar_t _Val);
130
- _CRTIMP wchar_t *__cdecl _wcslwr(wchar_t *_String);
131
- _CRTIMP wchar_t *_wcslwr_l(wchar_t *_String,_locale_t _Locale);
132
- _CRTIMP wchar_t *__cdecl _wcsupr(wchar_t *_String);
133
- _CRTIMP wchar_t *_wcsupr_l(wchar_t *_String,_locale_t _Locale);
134
- size_t __cdecl wcsxfrm(wchar_t *_Dst,const wchar_t *_Src,size_t _MaxCount);
135
- _CRTIMP size_t __cdecl _wcsxfrm_l(wchar_t *_Dst,const wchar_t *_Src,size_t _MaxCount,_locale_t _Locale);
136
- int __cdecl wcscoll(const wchar_t *_Str1,const wchar_t *_Str2);
137
- _CRTIMP int __cdecl _wcscoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale);
138
- _CRTIMP int __cdecl _wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2);
139
- _CRTIMP int __cdecl _wcsicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale);
140
- _CRTIMP int __cdecl _wcsncoll(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
141
- _CRTIMP int __cdecl _wcsncoll_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale);
142
- _CRTIMP int __cdecl _wcsnicoll(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
143
- _CRTIMP int __cdecl _wcsnicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale);
144
-
145
- #ifndef NO_OLDNAMES
146
- wchar_t *__cdecl wcsdup(const wchar_t *_Str);
147
- #define wcswcs wcsstr
148
- int __cdecl wcsicmp(const wchar_t *_Str1,const wchar_t *_Str2);
149
- int __cdecl wcsnicmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
150
- wchar_t *__cdecl wcsnset(wchar_t *_Str,wchar_t _Val,size_t _MaxCount);
151
- wchar_t *__cdecl wcsrev(wchar_t *_Str);
152
- wchar_t *__cdecl wcsset(wchar_t *_Str,wchar_t _Val);
153
- wchar_t *__cdecl wcslwr(wchar_t *_Str);
154
- wchar_t *__cdecl wcsupr(wchar_t *_Str);
155
- int __cdecl wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2);
156
- #endif
157
- #endif
158
-
159
- #ifdef __cplusplus
160
- }
161
- #endif
162
-
163
- #include <sec_api/string_s.h>
164
- #endif
1
+ /**
2
+ * This file has no copyright assigned and is placed in the Public Domain.
3
+ * This file is part of the w64 mingw-runtime package.
4
+ * No warranty is given; refer to the file DISCLAIMER within this package.
5
+ */
6
+ #ifndef _INC_STRING
7
+ #define _INC_STRING
8
+
9
+ #include <_mingw.h>
10
+
11
+ #ifdef __cplusplus
12
+ extern "C" {
13
+ #endif
14
+
15
+ #ifndef _NLSCMP_DEFINED
16
+ #define _NLSCMP_DEFINED
17
+ #define _NLSCMPERROR 2147483647
18
+ #endif
19
+
20
+ #ifndef NULL
21
+ #ifdef __cplusplus
22
+ #define NULL 0
23
+ #else
24
+ #define NULL ((void *)0)
25
+ #endif
26
+ #endif
27
+
28
+ #define _WConst_return _CONST_RETURN
29
+
30
+ #ifndef _CRT_MEMORY_DEFINED
31
+ #define _CRT_MEMORY_DEFINED
32
+ _CRTIMP void *__cdecl _memccpy(void *_Dst,const void *_Src,int _Val,size_t _MaxCount);
33
+ _CONST_RETURN void *__cdecl memchr(const void *_Buf ,int _Val,size_t _MaxCount);
34
+ _CRTIMP int __cdecl _memicmp(const void *_Buf1,const void *_Buf2,size_t _Size);
35
+ _CRTIMP int __cdecl _memicmp_l(const void *_Buf1,const void *_Buf2,size_t _Size,_locale_t _Locale);
36
+ int __cdecl memcmp(const void *_Buf1,const void *_Buf2,size_t _Size);
37
+ void *__cdecl memcpy(void *_Dst,const void *_Src,size_t _Size);
38
+ void *__cdecl memset(void *_Dst,int _Val,size_t _Size);
39
+ #ifndef NO_OLDNAMES
40
+ void *__cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size);
41
+ int __cdecl memicmp(const void *_Buf1,const void *_Buf2,size_t _Size);
42
+ #endif
43
+ #endif
44
+ char *__cdecl _strset(char *_Str,int _Val);
45
+ char *__cdecl strcpy(char *_Dest,const char *_Source);
46
+ char *__cdecl strcat(char *_Dest,const char *_Source);
47
+ int __cdecl strcmp(const char *_Str1,const char *_Str2);
48
+ size_t __cdecl strlen(const char *_Str);
49
+ #if 0
50
+ size_t __cdecl strnlen(const char *_Str,size_t _MaxCount);
51
+ #endif
52
+ void *__cdecl memmove(void *_Dst,const void *_Src,size_t _Size);
53
+ _CRTIMP char *__cdecl _strdup(const char *_Src);
54
+ _CONST_RETURN char *__cdecl strchr(const char *_Str,int _Val);
55
+ _CRTIMP int __cdecl _stricmp(const char *_Str1,const char *_Str2);
56
+ _CRTIMP int __cdecl _strcmpi(const char *_Str1,const char *_Str2);
57
+ _CRTIMP int __cdecl _stricmp_l(const char *_Str1,const char *_Str2,_locale_t _Locale);
58
+ int __cdecl strcoll(const char *_Str1,const char *_Str2);
59
+ _CRTIMP int __cdecl _strcoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale);
60
+ _CRTIMP int __cdecl _stricoll(const char *_Str1,const char *_Str2);
61
+ _CRTIMP int __cdecl _stricoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale);
62
+ _CRTIMP int __cdecl _strncoll (const char *_Str1,const char *_Str2,size_t _MaxCount);
63
+ _CRTIMP int __cdecl _strncoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale);
64
+ _CRTIMP int __cdecl _strnicoll (const char *_Str1,const char *_Str2,size_t _MaxCount);
65
+ _CRTIMP int __cdecl _strnicoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale);
66
+ size_t __cdecl strcspn(const char *_Str,const char *_Control);
67
+ _CRTIMP char *__cdecl _strerror(const char *_ErrMsg);
68
+ char *__cdecl strerror(int);
69
+ _CRTIMP char *__cdecl _strlwr(char *_String);
70
+ char *strlwr_l(char *_String,_locale_t _Locale);
71
+ char *__cdecl strncat(char *_Dest,const char *_Source,size_t _Count);
72
+ int __cdecl strncmp(const char *_Str1,const char *_Str2,size_t _MaxCount);
73
+ _CRTIMP int __cdecl _strnicmp(const char *_Str1,const char *_Str2,size_t _MaxCount);
74
+ _CRTIMP int __cdecl _strnicmp_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale);
75
+ char *strncpy(char *_Dest,const char *_Source,size_t _Count);
76
+ _CRTIMP char *__cdecl _strnset(char *_Str,int _Val,size_t _MaxCount);
77
+ _CONST_RETURN char *__cdecl strpbrk(const char *_Str,const char *_Control);
78
+ _CONST_RETURN char *__cdecl strrchr(const char *_Str,int _Ch);
79
+ _CRTIMP char *__cdecl _strrev(char *_Str);
80
+ size_t __cdecl strspn(const char *_Str,const char *_Control);
81
+ _CONST_RETURN char *__cdecl strstr(const char *_Str,const char *_SubStr);
82
+ char *__cdecl strtok(char *_Str,const char *_Delim);
83
+ _CRTIMP char *__cdecl _strupr(char *_String);
84
+ _CRTIMP char *_strupr_l(char *_String,_locale_t _Locale);
85
+ size_t __cdecl strxfrm(char *_Dst,const char *_Src,size_t _MaxCount);
86
+ _CRTIMP size_t __cdecl _strxfrm_l(char *_Dst,const char *_Src,size_t _MaxCount,_locale_t _Locale);
87
+
88
+ #ifndef NO_OLDNAMES
89
+ char *__cdecl strdup(const char *_Src);
90
+ int __cdecl strcmpi(const char *_Str1,const char *_Str2);
91
+ int __cdecl stricmp(const char *_Str1,const char *_Str2);
92
+ char *__cdecl strlwr(char *_Str);
93
+ int __cdecl strnicmp(const char *_Str1,const char *_Str,size_t _MaxCount);
94
+ __CRT_INLINE int __cdecl strncasecmp (const char *__sz1, const char *__sz2, size_t __sizeMaxCompare) { return _strnicmp (__sz1, __sz2, __sizeMaxCompare); }
95
+ __CRT_INLINE int __cdecl strcasecmp (const char *__sz1, const char *__sz2) { return _stricmp (__sz1, __sz2); }
96
+ char *__cdecl strnset(char *_Str,int _Val,size_t _MaxCount);
97
+ char *__cdecl strrev(char *_Str);
98
+ char *__cdecl strset(char *_Str,int _Val);
99
+ char *__cdecl strupr(char *_Str);
100
+ #endif
101
+
102
+ #ifndef _WSTRING_DEFINED
103
+ #define _WSTRING_DEFINED
104
+
105
+ _CRTIMP wchar_t *__cdecl _wcsdup(const wchar_t *_Str);
106
+ wchar_t *__cdecl wcscat(wchar_t *_Dest,const wchar_t *_Source);
107
+ _CONST_RETURN wchar_t *__cdecl wcschr(const wchar_t *_Str,wchar_t _Ch);
108
+ int __cdecl wcscmp(const wchar_t *_Str1,const wchar_t *_Str2);
109
+ wchar_t *__cdecl wcscpy(wchar_t *_Dest,const wchar_t *_Source);
110
+ size_t __cdecl wcscspn(const wchar_t *_Str,const wchar_t *_Control);
111
+ size_t __cdecl wcslen(const wchar_t *_Str);
112
+ size_t __cdecl wcsnlen(const wchar_t *_Src,size_t _MaxCount);
113
+ wchar_t *wcsncat(wchar_t *_Dest,const wchar_t *_Source,size_t _Count);
114
+ int __cdecl wcsncmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
115
+ wchar_t *wcsncpy(wchar_t *_Dest,const wchar_t *_Source,size_t _Count);
116
+ _CONST_RETURN wchar_t *__cdecl wcspbrk(const wchar_t *_Str,const wchar_t *_Control);
117
+ _CONST_RETURN wchar_t *__cdecl wcsrchr(const wchar_t *_Str,wchar_t _Ch);
118
+ size_t __cdecl wcsspn(const wchar_t *_Str,const wchar_t *_Control);
119
+ _CONST_RETURN wchar_t *__cdecl wcsstr(const wchar_t *_Str,const wchar_t *_SubStr);
120
+ wchar_t *__cdecl wcstok(wchar_t *_Str,const wchar_t *_Delim);
121
+ _CRTIMP wchar_t *__cdecl _wcserror(int _ErrNum);
122
+ _CRTIMP wchar_t *__cdecl __wcserror(const wchar_t *_Str);
123
+ _CRTIMP int __cdecl _wcsicmp(const wchar_t *_Str1,const wchar_t *_Str2);
124
+ _CRTIMP int __cdecl _wcsicmp_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale);
125
+ _CRTIMP int __cdecl _wcsnicmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
126
+ _CRTIMP int __cdecl _wcsnicmp_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale);
127
+ _CRTIMP wchar_t *__cdecl _wcsnset(wchar_t *_Str,wchar_t _Val,size_t _MaxCount);
128
+ _CRTIMP wchar_t *__cdecl _wcsrev(wchar_t *_Str);
129
+ _CRTIMP wchar_t *__cdecl _wcsset(wchar_t *_Str,wchar_t _Val);
130
+ _CRTIMP wchar_t *__cdecl _wcslwr(wchar_t *_String);
131
+ _CRTIMP wchar_t *_wcslwr_l(wchar_t *_String,_locale_t _Locale);
132
+ _CRTIMP wchar_t *__cdecl _wcsupr(wchar_t *_String);
133
+ _CRTIMP wchar_t *_wcsupr_l(wchar_t *_String,_locale_t _Locale);
134
+ size_t __cdecl wcsxfrm(wchar_t *_Dst,const wchar_t *_Src,size_t _MaxCount);
135
+ _CRTIMP size_t __cdecl _wcsxfrm_l(wchar_t *_Dst,const wchar_t *_Src,size_t _MaxCount,_locale_t _Locale);
136
+ int __cdecl wcscoll(const wchar_t *_Str1,const wchar_t *_Str2);
137
+ _CRTIMP int __cdecl _wcscoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale);
138
+ _CRTIMP int __cdecl _wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2);
139
+ _CRTIMP int __cdecl _wcsicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale);
140
+ _CRTIMP int __cdecl _wcsncoll(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
141
+ _CRTIMP int __cdecl _wcsncoll_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale);
142
+ _CRTIMP int __cdecl _wcsnicoll(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
143
+ _CRTIMP int __cdecl _wcsnicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale);
144
+
145
+ #ifndef NO_OLDNAMES
146
+ wchar_t *__cdecl wcsdup(const wchar_t *_Str);
147
+ #define wcswcs wcsstr
148
+ int __cdecl wcsicmp(const wchar_t *_Str1,const wchar_t *_Str2);
149
+ int __cdecl wcsnicmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount);
150
+ wchar_t *__cdecl wcsnset(wchar_t *_Str,wchar_t _Val,size_t _MaxCount);
151
+ wchar_t *__cdecl wcsrev(wchar_t *_Str);
152
+ wchar_t *__cdecl wcsset(wchar_t *_Str,wchar_t _Val);
153
+ wchar_t *__cdecl wcslwr(wchar_t *_Str);
154
+ wchar_t *__cdecl wcsupr(wchar_t *_Str);
155
+ int __cdecl wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2);
156
+ #endif
157
+ #endif
158
+
159
+ #ifdef __cplusplus
160
+ }
161
+ #endif
162
+
163
+ #include <sec_api/string_s.h>
164
+ #endif
@@ -1,13 +1,13 @@
1
- /**
2
- * This file has no copyright assigned and is placed in the Public Domain.
3
- * This file is part of the w64 mingw-runtime package.
4
- * No warranty is given; refer to the file DISCLAIMER within this package.
5
- */
6
- /*
7
- * This file is part of the Mingw32 package.
8
- *
9
- * This fcntl.h maps to the root fcntl.h
10
- */
11
- #ifndef __STRICT_ANSI__
12
- #include <fcntl.h>
13
- #endif
1
+ /**
2
+ * This file has no copyright assigned and is placed in the Public Domain.
3
+ * This file is part of the w64 mingw-runtime package.
4
+ * No warranty is given; refer to the file DISCLAIMER within this package.
5
+ */
6
+ /*
7
+ * This file is part of the Mingw32 package.
8
+ *
9
+ * This fcntl.h maps to the root fcntl.h
10
+ */
11
+ #ifndef __STRICT_ANSI__
12
+ #include <fcntl.h>
13
+ #endif
@@ -1,14 +1,14 @@
1
- /**
2
- * This file has no copyright assigned and is placed in the Public Domain.
3
- * This file is part of the w64 mingw-runtime package.
4
- * No warranty is given; refer to the file DISCLAIMER within this package.
5
- */
6
- /*
7
- * This file is part of the Mingw32 package.
8
- *
9
- * This file.h maps to the root fcntl.h
10
- * TODO?
11
- */
12
- #ifndef __STRICT_ANSI__
13
- #include <fcntl.h>
14
- #endif
1
+ /**
2
+ * This file has no copyright assigned and is placed in the Public Domain.
3
+ * This file is part of the w64 mingw-runtime package.
4
+ * No warranty is given; refer to the file DISCLAIMER within this package.
5
+ */
6
+ /*
7
+ * This file is part of the Mingw32 package.
8
+ *
9
+ * This file.h maps to the root fcntl.h
10
+ * TODO?
11
+ */
12
+ #ifndef __STRICT_ANSI__
13
+ #include <fcntl.h>
14
+ #endif
@@ -1,30 +1,30 @@
1
- /**
2
- * This file has no copyright assigned and is placed in the Public Domain.
3
- * This file is part of the w64 mingw-runtime package.
4
- * No warranty is given; refer to the file DISCLAIMER within this package.
5
- */
6
- #ifndef _INC_LOCKING
7
- #define _INC_LOCKING
8
-
9
- #ifndef _WIN32
10
- #error Only Win32 target is supported!
11
- #endif
12
-
13
- /* All the headers include this file. */
14
- #include <_mingw.h>
15
-
16
- #define _LK_UNLCK 0
17
- #define _LK_LOCK 1
18
- #define _LK_NBLCK 2
19
- #define _LK_RLCK 3
20
- #define _LK_NBRLCK 4
21
-
22
- #ifndef NO_OLDNAMES
23
- #define LK_UNLCK _LK_UNLCK
24
- #define LK_LOCK _LK_LOCK
25
- #define LK_NBLCK _LK_NBLCK
26
- #define LK_RLCK _LK_RLCK
27
- #define LK_NBRLCK _LK_NBRLCK
28
- #endif
29
-
30
- #endif
1
+ /**
2
+ * This file has no copyright assigned and is placed in the Public Domain.
3
+ * This file is part of the w64 mingw-runtime package.
4
+ * No warranty is given; refer to the file DISCLAIMER within this package.
5
+ */
6
+ #ifndef _INC_LOCKING
7
+ #define _INC_LOCKING
8
+
9
+ #ifndef _WIN32
10
+ #error Only Win32 target is supported!
11
+ #endif
12
+
13
+ /* All the headers include this file. */
14
+ #include <_mingw.h>
15
+
16
+ #define _LK_UNLCK 0
17
+ #define _LK_LOCK 1
18
+ #define _LK_NBLCK 2
19
+ #define _LK_RLCK 3
20
+ #define _LK_NBRLCK 4
21
+
22
+ #ifndef NO_OLDNAMES
23
+ #define LK_UNLCK _LK_UNLCK
24
+ #define LK_LOCK _LK_LOCK
25
+ #define LK_NBLCK _LK_NBLCK
26
+ #define LK_RLCK _LK_RLCK
27
+ #define LK_NBRLCK _LK_NBRLCK
28
+ #endif
29
+
30
+ #endif