@xnetx/tinyc-native-x86_64-w64-mingw32 0.1.3 → 0.3.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 (124) 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/tinyc_io.h +131 -131
  4. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/_mingw.h +171 -171
  5. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/arm_neon.h +3585 -0
  6. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/assert.h +62 -62
  7. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx2intrin.h +93 -0
  8. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512bwintrin.h +128 -0
  9. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512cdintrin.h +31 -0
  10. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512dqintrin.h +123 -0
  11. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512fintrin.h +1075 -0
  12. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vbmiintrin.h +30 -0
  13. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vlintrin.h +1633 -0
  14. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vnniintrin.h +33 -0
  15. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avxintrin.h +675 -0
  16. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/conio.h +409 -409
  17. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/ctype.h +281 -281
  18. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dir.h +31 -31
  19. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/direct.h +68 -68
  20. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dirent.h +135 -135
  21. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dos.h +55 -55
  22. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/emmintrin.h +213 -0
  23. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/errno.h +75 -75
  24. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/excpt.h +123 -123
  25. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/f16cintrin.h +29 -0
  26. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fcntl.h +52 -52
  27. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fenv.h +108 -108
  28. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/float.h +75 -75
  29. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fmaintrin.h +141 -0
  30. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/immintrin.h +21 -0
  31. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/inttypes.h +297 -297
  32. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/io.h +418 -418
  33. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/iso646.h +36 -36
  34. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/limits.h +116 -116
  35. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/locale.h +91 -91
  36. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/malloc.h +181 -181
  37. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/math.h +497 -497
  38. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/mem.h +13 -13
  39. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/memory.h +40 -40
  40. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/process.h +176 -176
  41. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/riscv_vector.h +12334 -0
  42. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/conio_s.h +42 -42
  43. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/crtdbg_s.h +19 -19
  44. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/io_s.h +33 -33
  45. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/mbstring_s.h +52 -52
  46. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/search_s.h +25 -25
  47. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdio_s.h +145 -145
  48. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdlib_s.h +67 -67
  49. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stralign_s.h +30 -30
  50. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/string_s.h +41 -41
  51. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/sys/timeb_s.h +34 -34
  52. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/tchar_s.h +266 -266
  53. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/time_s.h +61 -61
  54. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/wchar_s.h +128 -128
  55. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/setjmp.h +199 -199
  56. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/share.h +28 -28
  57. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/signal.h +63 -63
  58. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/smmintrin.h +74 -0
  59. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdalign.h +16 -16
  60. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdarg.h +14 -14
  61. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdatomic.h +171 -171
  62. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdbool.h +11 -11
  63. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stddef.h +39 -39
  64. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdint.h +212 -212
  65. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdio.h +429 -429
  66. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdlib.h +606 -606
  67. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdnoreturn.h +7 -7
  68. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/string.h +164 -164
  69. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/fcntl.h +13 -13
  70. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/file.h +14 -14
  71. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/locking.h +30 -30
  72. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/stat.h +290 -290
  73. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/time.h +69 -69
  74. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/timeb.h +133 -133
  75. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/types.h +123 -123
  76. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/unistd.h +14 -14
  77. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/utime.h +146 -146
  78. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcc/tcc_libm.h +618 -618
  79. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tccdefs.h +338 -338
  80. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcclib.h +82 -82
  81. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tchar.h +1102 -1102
  82. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tgmath.h +89 -89
  83. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/time.h +287 -287
  84. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tmmintrin.h +19 -0
  85. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/uchar.h +33 -33
  86. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/unistd.h +1 -1
  87. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/vadefs.h +11 -11
  88. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/values.h +4 -4
  89. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/varargs.h +12 -12
  90. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wchar.h +873 -873
  91. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wctype.h +172 -172
  92. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetsd.h +149 -149
  93. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetyps.h +85 -85
  94. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/guiddef.h +156 -156
  95. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/poppack.h +8 -8
  96. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack1.h +8 -8
  97. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack2.h +8 -8
  98. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack4.h +8 -8
  99. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack8.h +8 -8
  100. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/qos.h +72 -72
  101. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/shellapi.h +59 -59
  102. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winbase.h +2966 -2966
  103. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wincon.h +309 -309
  104. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windef.h +293 -293
  105. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windows.h +127 -127
  106. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winerror.h +3166 -3166
  107. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wingdi.h +4080 -4080
  108. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnls.h +778 -778
  109. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnt.h +5994 -5994
  110. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winreg.h +272 -272
  111. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winsock2.h +1474 -1474
  112. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winuser.h +5652 -5652
  113. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winver.h +160 -160
  114. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2ipdef.h +21 -21
  115. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2tcpip.h +391 -391
  116. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/xmmintrin.h +170 -0
  117. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/gdi32.def +337 -337
  118. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/kernel32.def +776 -776
  119. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/libtcc1.a +0 -0
  120. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/msvcrt.def +1320 -1320
  121. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/runmain.o +0 -0
  122. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/user32.def +658 -658
  123. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/ws2_32.def +198 -198
  124. package/sysroot/x86_64-w64-mingw32/manifest.json +1 -1
@@ -1,85 +1,85 @@
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
- #if !defined(_BASETYPS_H_)
7
- #define _BASETYPS_H_
8
-
9
- #ifdef __cplusplus
10
- #define EXTERN_C extern "C"
11
- #else
12
- #define EXTERN_C extern
13
- #endif
14
-
15
- #define STDMETHODCALLTYPE WINAPI
16
- #define STDMETHODVCALLTYPE __cdecl
17
-
18
- #define STDAPICALLTYPE WINAPI
19
- #define STDAPIVCALLTYPE __cdecl
20
-
21
- #define STDAPI EXTERN_C HRESULT WINAPI
22
- #define STDAPI_(type) EXTERN_C type WINAPI
23
-
24
- #define STDMETHODIMP HRESULT WINAPI
25
- #define STDMETHODIMP_(type) type WINAPI
26
-
27
- #define STDAPIV EXTERN_C HRESULT STDAPIVCALLTYPE
28
- #define STDAPIV_(type) EXTERN_C type STDAPIVCALLTYPE
29
-
30
- #define STDMETHODIMPV HRESULT STDMETHODVCALLTYPE
31
- #define STDMETHODIMPV_(type) type STDMETHODVCALLTYPE
32
-
33
- #if defined(__cplusplus) && !defined(CINTERFACE)
34
-
35
- #define __STRUCT__ struct
36
- #define STDMETHOD(method) virtual HRESULT WINAPI method
37
- #define STDMETHOD_(type,method) virtual type WINAPI method
38
- #define STDMETHODV(method) virtual HRESULT STDMETHODVCALLTYPE method
39
- #define STDMETHODV_(type,method) virtual type STDMETHODVCALLTYPE method
40
- #define PURE = 0
41
- #define THIS_
42
- #define THIS void
43
- #define DECLARE_INTERFACE(iface) __STRUCT__ iface
44
- #define DECLARE_INTERFACE_(iface,baseiface) __STRUCT__ iface : public baseiface
45
- #else
46
-
47
- #ifndef __OBJC__
48
- #define interface struct
49
- #endif
50
-
51
- #define STDMETHOD(method) HRESULT (WINAPI *method)
52
- #define STDMETHOD_(type,method) type (WINAPI *method)
53
- #define STDMETHODV(method) HRESULT (STDMETHODVCALLTYPE *method)
54
- #define STDMETHODV_(type,method) type (STDMETHODVCALLTYPE *method)
55
-
56
- #define PURE
57
- #define THIS_ INTERFACE *This,
58
- #define THIS INTERFACE *This
59
- #ifdef CONST_VTABLE
60
- #define DECLARE_INTERFACE(iface) typedef struct iface { \
61
- const struct iface##Vtbl *lpVtbl; } iface; \
62
- typedef const struct iface##Vtbl iface##Vtbl; \
63
- const struct iface##Vtbl
64
- #else
65
- #define DECLARE_INTERFACE(iface) typedef struct iface { \
66
- struct iface##Vtbl *lpVtbl; \
67
- } iface; \
68
- typedef struct iface##Vtbl iface##Vtbl; \
69
- struct iface##Vtbl
70
- #endif
71
- #define DECLARE_INTERFACE_(iface,baseiface) DECLARE_INTERFACE(iface)
72
- #endif
73
-
74
- #include <guiddef.h>
75
-
76
- #ifndef _ERROR_STATUS_T_DEFINED
77
- #define _ERROR_STATUS_T_DEFINED
78
- typedef unsigned long error_status_t;
79
- #endif
80
-
81
- #ifndef _WCHAR_T_DEFINED
82
- typedef unsigned short wchar_t;
83
- #define _WCHAR_T_DEFINED
84
- #endif
85
- #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
+ #if !defined(_BASETYPS_H_)
7
+ #define _BASETYPS_H_
8
+
9
+ #ifdef __cplusplus
10
+ #define EXTERN_C extern "C"
11
+ #else
12
+ #define EXTERN_C extern
13
+ #endif
14
+
15
+ #define STDMETHODCALLTYPE WINAPI
16
+ #define STDMETHODVCALLTYPE __cdecl
17
+
18
+ #define STDAPICALLTYPE WINAPI
19
+ #define STDAPIVCALLTYPE __cdecl
20
+
21
+ #define STDAPI EXTERN_C HRESULT WINAPI
22
+ #define STDAPI_(type) EXTERN_C type WINAPI
23
+
24
+ #define STDMETHODIMP HRESULT WINAPI
25
+ #define STDMETHODIMP_(type) type WINAPI
26
+
27
+ #define STDAPIV EXTERN_C HRESULT STDAPIVCALLTYPE
28
+ #define STDAPIV_(type) EXTERN_C type STDAPIVCALLTYPE
29
+
30
+ #define STDMETHODIMPV HRESULT STDMETHODVCALLTYPE
31
+ #define STDMETHODIMPV_(type) type STDMETHODVCALLTYPE
32
+
33
+ #if defined(__cplusplus) && !defined(CINTERFACE)
34
+
35
+ #define __STRUCT__ struct
36
+ #define STDMETHOD(method) virtual HRESULT WINAPI method
37
+ #define STDMETHOD_(type,method) virtual type WINAPI method
38
+ #define STDMETHODV(method) virtual HRESULT STDMETHODVCALLTYPE method
39
+ #define STDMETHODV_(type,method) virtual type STDMETHODVCALLTYPE method
40
+ #define PURE = 0
41
+ #define THIS_
42
+ #define THIS void
43
+ #define DECLARE_INTERFACE(iface) __STRUCT__ iface
44
+ #define DECLARE_INTERFACE_(iface,baseiface) __STRUCT__ iface : public baseiface
45
+ #else
46
+
47
+ #ifndef __OBJC__
48
+ #define interface struct
49
+ #endif
50
+
51
+ #define STDMETHOD(method) HRESULT (WINAPI *method)
52
+ #define STDMETHOD_(type,method) type (WINAPI *method)
53
+ #define STDMETHODV(method) HRESULT (STDMETHODVCALLTYPE *method)
54
+ #define STDMETHODV_(type,method) type (STDMETHODVCALLTYPE *method)
55
+
56
+ #define PURE
57
+ #define THIS_ INTERFACE *This,
58
+ #define THIS INTERFACE *This
59
+ #ifdef CONST_VTABLE
60
+ #define DECLARE_INTERFACE(iface) typedef struct iface { \
61
+ const struct iface##Vtbl *lpVtbl; } iface; \
62
+ typedef const struct iface##Vtbl iface##Vtbl; \
63
+ const struct iface##Vtbl
64
+ #else
65
+ #define DECLARE_INTERFACE(iface) typedef struct iface { \
66
+ struct iface##Vtbl *lpVtbl; \
67
+ } iface; \
68
+ typedef struct iface##Vtbl iface##Vtbl; \
69
+ struct iface##Vtbl
70
+ #endif
71
+ #define DECLARE_INTERFACE_(iface,baseiface) DECLARE_INTERFACE(iface)
72
+ #endif
73
+
74
+ #include <guiddef.h>
75
+
76
+ #ifndef _ERROR_STATUS_T_DEFINED
77
+ #define _ERROR_STATUS_T_DEFINED
78
+ typedef unsigned long error_status_t;
79
+ #endif
80
+
81
+ #ifndef _WCHAR_T_DEFINED
82
+ typedef unsigned short wchar_t;
83
+ #define _WCHAR_T_DEFINED
84
+ #endif
85
+ #endif
@@ -1,156 +1,156 @@
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 GUID_DEFINED
7
- #define GUID_DEFINED
8
- typedef struct _GUID {
9
- unsigned long Data1;
10
- unsigned short Data2;
11
- unsigned short Data3;
12
- unsigned char Data4[8 ];
13
- } GUID;
14
- #endif
15
-
16
- #ifndef UUID_DEFINED
17
- #define UUID_DEFINED
18
- typedef GUID UUID;
19
- #endif
20
-
21
- #ifndef FAR
22
- #define FAR
23
- #endif
24
-
25
- #ifndef DECLSPEC_SELECTANY
26
- #define DECLSPEC_SELECTANY __declspec(selectany)
27
- #endif
28
-
29
- #ifndef EXTERN_C
30
- #ifdef __cplusplus
31
- #define EXTERN_C extern "C"
32
- #else
33
- #define EXTERN_C extern
34
- #endif
35
- #endif
36
-
37
- #ifdef DEFINE_GUID
38
- #undef DEFINE_GUID
39
- #endif
40
-
41
- #ifdef INITGUID
42
- #ifdef __cplusplus
43
- #define DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) EXTERN_C const GUID DECLSPEC_SELECTANY name = { l,w1,w2,{ b1,b2,b3,b4,b5,b6,b7,b8 } }
44
- #else
45
- #define DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const GUID DECLSPEC_SELECTANY name = { l,w1,w2,{ b1,b2,b3,b4,b5,b6,b7,b8 } }
46
- #endif
47
- #else
48
- #define DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) EXTERN_C const GUID name
49
- #endif
50
-
51
- #define DEFINE_OLEGUID(name,l,w1,w2) DEFINE_GUID(name,l,w1,w2,0xC0,0,0,0,0,0,0,0x46)
52
-
53
- #ifndef _GUIDDEF_H_
54
- #define _GUIDDEF_H_
55
-
56
- #ifndef __LPGUID_DEFINED__
57
- #define __LPGUID_DEFINED__
58
- typedef GUID *LPGUID;
59
- #endif
60
-
61
- #ifndef __LPCGUID_DEFINED__
62
- #define __LPCGUID_DEFINED__
63
- typedef const GUID *LPCGUID;
64
- #endif
65
-
66
- #ifndef __IID_DEFINED__
67
- #define __IID_DEFINED__
68
-
69
- typedef GUID IID;
70
- typedef IID *LPIID;
71
- #define IID_NULL GUID_NULL
72
- #define IsEqualIID(riid1,riid2) IsEqualGUID(riid1,riid2)
73
- typedef GUID CLSID;
74
- typedef CLSID *LPCLSID;
75
- #define CLSID_NULL GUID_NULL
76
- #define IsEqualCLSID(rclsid1,rclsid2) IsEqualGUID(rclsid1,rclsid2)
77
- typedef GUID FMTID;
78
- typedef FMTID *LPFMTID;
79
- #define FMTID_NULL GUID_NULL
80
- #define IsEqualFMTID(rfmtid1,rfmtid2) IsEqualGUID(rfmtid1,rfmtid2)
81
-
82
- #ifdef __midl_proxy
83
- #define __MIDL_CONST
84
- #else
85
- #define __MIDL_CONST const
86
- #endif
87
-
88
- #ifndef _REFGUID_DEFINED
89
- #define _REFGUID_DEFINED
90
- #ifdef __cplusplus
91
- #define REFGUID const GUID &
92
- #else
93
- #define REFGUID const GUID *__MIDL_CONST
94
- #endif
95
- #endif
96
-
97
- #ifndef _REFIID_DEFINED
98
- #define _REFIID_DEFINED
99
- #ifdef __cplusplus
100
- #define REFIID const IID &
101
- #else
102
- #define REFIID const IID *__MIDL_CONST
103
- #endif
104
- #endif
105
-
106
- #ifndef _REFCLSID_DEFINED
107
- #define _REFCLSID_DEFINED
108
- #ifdef __cplusplus
109
- #define REFCLSID const IID &
110
- #else
111
- #define REFCLSID const IID *__MIDL_CONST
112
- #endif
113
- #endif
114
-
115
- #ifndef _REFFMTID_DEFINED
116
- #define _REFFMTID_DEFINED
117
- #ifdef __cplusplus
118
- #define REFFMTID const IID &
119
- #else
120
- #define REFFMTID const IID *__MIDL_CONST
121
- #endif
122
- #endif
123
- #endif
124
-
125
- #ifndef _SYS_GUID_OPERATORS_
126
- #define _SYS_GUID_OPERATORS_
127
- #include <string.h>
128
-
129
- #ifdef __cplusplus
130
- __inline int InlineIsEqualGUID(REFGUID rguid1,REFGUID rguid2) {
131
- return (((unsigned long *) &rguid1)[0]==((unsigned long *) &rguid2)[0] && ((unsigned long *) &rguid1)[1]==((unsigned long *) &rguid2)[1] &&
132
- ((unsigned long *) &rguid1)[2]==((unsigned long *) &rguid2)[2] && ((unsigned long *) &rguid1)[3]==((unsigned long *) &rguid2)[3]);
133
- }
134
- __inline int IsEqualGUID(REFGUID rguid1,REFGUID rguid2) { return !memcmp(&rguid1,&rguid2,sizeof(GUID)); }
135
- #else
136
- #define InlineIsEqualGUID(rguid1,rguid2) (((unsigned long *) rguid1)[0]==((unsigned long *) rguid2)[0] && ((unsigned long *) rguid1)[1]==((unsigned long *) rguid2)[1] && ((unsigned long *) rguid1)[2]==((unsigned long *) rguid2)[2] && ((unsigned long *) rguid1)[3]==((unsigned long *) rguid2)[3])
137
- #define IsEqualGUID(rguid1,rguid2) (!memcmp(rguid1,rguid2,sizeof(GUID)))
138
- #endif
139
-
140
- #ifdef __INLINE_ISEQUAL_GUID
141
- #undef IsEqualGUID
142
- #define IsEqualGUID(rguid1,rguid2) InlineIsEqualGUID(rguid1,rguid2)
143
- #endif
144
-
145
- #define IsEqualIID(riid1,riid2) IsEqualGUID(riid1,riid2)
146
- #define IsEqualCLSID(rclsid1,rclsid2) IsEqualGUID(rclsid1,rclsid2)
147
-
148
- #if !defined _SYS_GUID_OPERATOR_EQ_ && !defined _NO_SYS_GUID_OPERATOR_EQ_
149
- #define _SYS_GUID_OPERATOR_EQ_
150
- #ifdef __cplusplus
151
- __inline int operator==(REFGUID guidOne,REFGUID guidOther) { return IsEqualGUID(guidOne,guidOther); }
152
- __inline int operator!=(REFGUID guidOne,REFGUID guidOther) { return !(guidOne==guidOther); }
153
- #endif
154
- #endif
155
- #endif
156
- #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 GUID_DEFINED
7
+ #define GUID_DEFINED
8
+ typedef struct _GUID {
9
+ unsigned long Data1;
10
+ unsigned short Data2;
11
+ unsigned short Data3;
12
+ unsigned char Data4[8 ];
13
+ } GUID;
14
+ #endif
15
+
16
+ #ifndef UUID_DEFINED
17
+ #define UUID_DEFINED
18
+ typedef GUID UUID;
19
+ #endif
20
+
21
+ #ifndef FAR
22
+ #define FAR
23
+ #endif
24
+
25
+ #ifndef DECLSPEC_SELECTANY
26
+ #define DECLSPEC_SELECTANY __declspec(selectany)
27
+ #endif
28
+
29
+ #ifndef EXTERN_C
30
+ #ifdef __cplusplus
31
+ #define EXTERN_C extern "C"
32
+ #else
33
+ #define EXTERN_C extern
34
+ #endif
35
+ #endif
36
+
37
+ #ifdef DEFINE_GUID
38
+ #undef DEFINE_GUID
39
+ #endif
40
+
41
+ #ifdef INITGUID
42
+ #ifdef __cplusplus
43
+ #define DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) EXTERN_C const GUID DECLSPEC_SELECTANY name = { l,w1,w2,{ b1,b2,b3,b4,b5,b6,b7,b8 } }
44
+ #else
45
+ #define DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const GUID DECLSPEC_SELECTANY name = { l,w1,w2,{ b1,b2,b3,b4,b5,b6,b7,b8 } }
46
+ #endif
47
+ #else
48
+ #define DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) EXTERN_C const GUID name
49
+ #endif
50
+
51
+ #define DEFINE_OLEGUID(name,l,w1,w2) DEFINE_GUID(name,l,w1,w2,0xC0,0,0,0,0,0,0,0x46)
52
+
53
+ #ifndef _GUIDDEF_H_
54
+ #define _GUIDDEF_H_
55
+
56
+ #ifndef __LPGUID_DEFINED__
57
+ #define __LPGUID_DEFINED__
58
+ typedef GUID *LPGUID;
59
+ #endif
60
+
61
+ #ifndef __LPCGUID_DEFINED__
62
+ #define __LPCGUID_DEFINED__
63
+ typedef const GUID *LPCGUID;
64
+ #endif
65
+
66
+ #ifndef __IID_DEFINED__
67
+ #define __IID_DEFINED__
68
+
69
+ typedef GUID IID;
70
+ typedef IID *LPIID;
71
+ #define IID_NULL GUID_NULL
72
+ #define IsEqualIID(riid1,riid2) IsEqualGUID(riid1,riid2)
73
+ typedef GUID CLSID;
74
+ typedef CLSID *LPCLSID;
75
+ #define CLSID_NULL GUID_NULL
76
+ #define IsEqualCLSID(rclsid1,rclsid2) IsEqualGUID(rclsid1,rclsid2)
77
+ typedef GUID FMTID;
78
+ typedef FMTID *LPFMTID;
79
+ #define FMTID_NULL GUID_NULL
80
+ #define IsEqualFMTID(rfmtid1,rfmtid2) IsEqualGUID(rfmtid1,rfmtid2)
81
+
82
+ #ifdef __midl_proxy
83
+ #define __MIDL_CONST
84
+ #else
85
+ #define __MIDL_CONST const
86
+ #endif
87
+
88
+ #ifndef _REFGUID_DEFINED
89
+ #define _REFGUID_DEFINED
90
+ #ifdef __cplusplus
91
+ #define REFGUID const GUID &
92
+ #else
93
+ #define REFGUID const GUID *__MIDL_CONST
94
+ #endif
95
+ #endif
96
+
97
+ #ifndef _REFIID_DEFINED
98
+ #define _REFIID_DEFINED
99
+ #ifdef __cplusplus
100
+ #define REFIID const IID &
101
+ #else
102
+ #define REFIID const IID *__MIDL_CONST
103
+ #endif
104
+ #endif
105
+
106
+ #ifndef _REFCLSID_DEFINED
107
+ #define _REFCLSID_DEFINED
108
+ #ifdef __cplusplus
109
+ #define REFCLSID const IID &
110
+ #else
111
+ #define REFCLSID const IID *__MIDL_CONST
112
+ #endif
113
+ #endif
114
+
115
+ #ifndef _REFFMTID_DEFINED
116
+ #define _REFFMTID_DEFINED
117
+ #ifdef __cplusplus
118
+ #define REFFMTID const IID &
119
+ #else
120
+ #define REFFMTID const IID *__MIDL_CONST
121
+ #endif
122
+ #endif
123
+ #endif
124
+
125
+ #ifndef _SYS_GUID_OPERATORS_
126
+ #define _SYS_GUID_OPERATORS_
127
+ #include <string.h>
128
+
129
+ #ifdef __cplusplus
130
+ __inline int InlineIsEqualGUID(REFGUID rguid1,REFGUID rguid2) {
131
+ return (((unsigned long *) &rguid1)[0]==((unsigned long *) &rguid2)[0] && ((unsigned long *) &rguid1)[1]==((unsigned long *) &rguid2)[1] &&
132
+ ((unsigned long *) &rguid1)[2]==((unsigned long *) &rguid2)[2] && ((unsigned long *) &rguid1)[3]==((unsigned long *) &rguid2)[3]);
133
+ }
134
+ __inline int IsEqualGUID(REFGUID rguid1,REFGUID rguid2) { return !memcmp(&rguid1,&rguid2,sizeof(GUID)); }
135
+ #else
136
+ #define InlineIsEqualGUID(rguid1,rguid2) (((unsigned long *) rguid1)[0]==((unsigned long *) rguid2)[0] && ((unsigned long *) rguid1)[1]==((unsigned long *) rguid2)[1] && ((unsigned long *) rguid1)[2]==((unsigned long *) rguid2)[2] && ((unsigned long *) rguid1)[3]==((unsigned long *) rguid2)[3])
137
+ #define IsEqualGUID(rguid1,rguid2) (!memcmp(rguid1,rguid2,sizeof(GUID)))
138
+ #endif
139
+
140
+ #ifdef __INLINE_ISEQUAL_GUID
141
+ #undef IsEqualGUID
142
+ #define IsEqualGUID(rguid1,rguid2) InlineIsEqualGUID(rguid1,rguid2)
143
+ #endif
144
+
145
+ #define IsEqualIID(riid1,riid2) IsEqualGUID(riid1,riid2)
146
+ #define IsEqualCLSID(rclsid1,rclsid2) IsEqualGUID(rclsid1,rclsid2)
147
+
148
+ #if !defined _SYS_GUID_OPERATOR_EQ_ && !defined _NO_SYS_GUID_OPERATOR_EQ_
149
+ #define _SYS_GUID_OPERATOR_EQ_
150
+ #ifdef __cplusplus
151
+ __inline int operator==(REFGUID guidOne,REFGUID guidOther) { return IsEqualGUID(guidOne,guidOther); }
152
+ __inline int operator!=(REFGUID guidOne,REFGUID guidOther) { return !(guidOne==guidOther); }
153
+ #endif
154
+ #endif
155
+ #endif
156
+ #endif
@@ -1,8 +1,8 @@
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
- #if !(defined(lint) || defined(RC_INVOKED))
7
- #pragma pack(pop)
8
- #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
+ #if !(defined(lint) || defined(RC_INVOKED))
7
+ #pragma pack(pop)
8
+ #endif
@@ -1,8 +1,8 @@
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
- #if !(defined(lint) || defined(RC_INVOKED))
7
- #pragma pack(push,1)
8
- #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
+ #if !(defined(lint) || defined(RC_INVOKED))
7
+ #pragma pack(push,1)
8
+ #endif
@@ -1,8 +1,8 @@
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
- #if !(defined(lint) || defined(RC_INVOKED))
7
- #pragma pack(push,2)
8
- #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
+ #if !(defined(lint) || defined(RC_INVOKED))
7
+ #pragma pack(push,2)
8
+ #endif
@@ -1,8 +1,8 @@
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
- #if !(defined(lint) || defined(RC_INVOKED))
7
- #pragma pack(push,4)
8
- #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
+ #if !(defined(lint) || defined(RC_INVOKED))
7
+ #pragma pack(push,4)
8
+ #endif
@@ -1,8 +1,8 @@
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
- #if !(defined(lint) || defined(RC_INVOKED))
7
- #pragma pack(push,8)
8
- #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
+ #if !(defined(lint) || defined(RC_INVOKED))
7
+ #pragma pack(push,8)
8
+ #endif