@crossbind/port-expat-ios 2.0.0-beta.50

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 (40) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +12 -0
  3. package/crossbind-port-expat.podspec +15 -0
  4. package/crossbind.build.js +1 -0
  5. package/crossbind.config.js +5 -0
  6. package/dist/prebuilt/CMakeLists.txt +57 -0
  7. package/dist/prebuilt/ios-iphoneos-mt-release/crossbind-emccflags.fingerprint +1 -0
  8. package/dist/prebuilt/ios-iphoneos-mt-release/include/expat.h +1105 -0
  9. package/dist/prebuilt/ios-iphoneos-mt-release/include/expat_config.h +122 -0
  10. package/dist/prebuilt/ios-iphoneos-mt-release/include/expat_external.h +168 -0
  11. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/expat-2.8.3/expat-config-version.cmake +65 -0
  12. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/expat-2.8.3/expat-config.cmake +99 -0
  13. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/expat-2.8.3/expat-release.cmake +19 -0
  14. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/expat-2.8.3/expat.cmake +107 -0
  15. package/dist/prebuilt/ios-iphoneos-mt-release/lib/libexpat.a +0 -0
  16. package/dist/prebuilt/ios-iphoneos-mt-release/lib/pkgconfig/expat.pc +13 -0
  17. package/dist/prebuilt/ios-iphoneos-mt-release/share/doc/expat/AUTHORS +10 -0
  18. package/dist/prebuilt/ios-iphoneos-mt-release/share/doc/expat/changelog +2163 -0
  19. package/dist/prebuilt/ios-iphonesimulator-mt-release/crossbind-emccflags.fingerprint +1 -0
  20. package/dist/prebuilt/ios-iphonesimulator-mt-release/include/expat.h +1105 -0
  21. package/dist/prebuilt/ios-iphonesimulator-mt-release/include/expat_config.h +122 -0
  22. package/dist/prebuilt/ios-iphonesimulator-mt-release/include/expat_external.h +168 -0
  23. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/expat-2.8.3/expat-config-version.cmake +65 -0
  24. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/expat-2.8.3/expat-config.cmake +99 -0
  25. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/expat-2.8.3/expat-release.cmake +19 -0
  26. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/expat-2.8.3/expat.cmake +107 -0
  27. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/libexpat.a +0 -0
  28. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/pkgconfig/expat.pc +13 -0
  29. package/dist/prebuilt/ios-iphonesimulator-mt-release/share/doc/expat/AUTHORS +10 -0
  30. package/dist/prebuilt/ios-iphonesimulator-mt-release/share/doc/expat/changelog +2163 -0
  31. package/expat.xcframework/Info.plist +47 -0
  32. package/expat.xcframework/ios-arm64/Headers/expat.h +1105 -0
  33. package/expat.xcframework/ios-arm64/Headers/expat_config.h +122 -0
  34. package/expat.xcframework/ios-arm64/Headers/expat_external.h +168 -0
  35. package/expat.xcframework/ios-arm64/libexpat.a +0 -0
  36. package/expat.xcframework/ios-arm64-simulator/Headers/expat.h +1105 -0
  37. package/expat.xcframework/ios-arm64-simulator/Headers/expat_config.h +122 -0
  38. package/expat.xcframework/ios-arm64-simulator/Headers/expat_external.h +168 -0
  39. package/expat.xcframework/ios-arm64-simulator/libexpat.a +0 -0
  40. package/package.json +32 -0
@@ -0,0 +1,122 @@
1
+ /* expat_config.h.cmake. Based upon generated expat_config.h.in. */
2
+
3
+ #ifndef EXPAT_CONFIG_H
4
+ # define EXPAT_CONFIG_H 1
5
+
6
+ /* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
7
+ #define BYTEORDER 1234
8
+
9
+ /* Define to 1 if you have the `arc4random' function. */
10
+ #define HAVE_ARC4RANDOM
11
+
12
+ /* Define to 1 if you have the `arc4random_buf' function. */
13
+ #define HAVE_ARC4RANDOM_BUF
14
+
15
+ /* Define to 1 if you have the <dlfcn.h> header file. */
16
+ #define HAVE_DLFCN_H
17
+
18
+ /* Define to 1 if you have the <fcntl.h> header file. */
19
+ #define HAVE_FCNTL_H
20
+
21
+ /* Define to 1 if you have the `getpagesize' function. */
22
+ #define HAVE_GETPAGESIZE
23
+
24
+ /* Define to 1 if you have the `getrandom' function. */
25
+ /* #undef HAVE_GETRANDOM */
26
+
27
+ /* Define to 1 if you have the `getentropy' function. */
28
+ /* #undef HAVE_GETENTROPY */
29
+
30
+ /* Define to 1 if you have the <inttypes.h> header file. */
31
+ #define HAVE_INTTYPES_H
32
+
33
+ /* Define to 1 if you have the <memory.h> header file. */
34
+ #define HAVE_MEMORY_H
35
+
36
+ /* Define to 1 if you have a working `mmap' system call. */
37
+ #define HAVE_MMAP
38
+
39
+ /* Define to 1 if you have the <stdint.h> header file. */
40
+ #define HAVE_STDINT_H
41
+
42
+ /* Define to 1 if you have the <stdlib.h> header file. */
43
+ #define HAVE_STDLIB_H
44
+
45
+ /* Define to 1 if you have the <strings.h> header file. */
46
+ #define HAVE_STRINGS_H
47
+
48
+ /* Define to 1 if you have the <string.h> header file. */
49
+ #define HAVE_STRING_H
50
+
51
+ /* Define to 1 if you have `syscall' and `SYS_getrandom'. */
52
+ /* #undef HAVE_SYSCALL_GETRANDOM */
53
+
54
+ /* Define to 1 if you have the <sys/stat.h> header file. */
55
+ #define HAVE_SYS_STAT_H
56
+
57
+ /* Define to 1 if you have the <sys/types.h> header file. */
58
+ #define HAVE_SYS_TYPES_H
59
+
60
+ /* Define to 1 if you have the <unistd.h> header file. */
61
+ #define HAVE_UNISTD_H
62
+
63
+ /* Name of package */
64
+ # define PACKAGE "expat"
65
+
66
+ /* Define to the address where bug reports for this package should be sent. */
67
+ #define PACKAGE_BUGREPORT "https://github.com/libexpat/libexpat/issues"
68
+
69
+ /* Define to the full name of this package. */
70
+ #define PACKAGE_NAME "expat"
71
+
72
+ /* Define to the full name and version of this package. */
73
+ #define PACKAGE_STRING "expat 2.8.3"
74
+
75
+ /* Define to the one symbol short name of this package. */
76
+ #define PACKAGE_TARNAME "expat"
77
+
78
+ /* Define to the home page for this package. */
79
+ # define PACKAGE_URL ""
80
+
81
+ /* Define to the version of this package. */
82
+ #define PACKAGE_VERSION "2.8.3"
83
+
84
+ /* Define to 1 if you have the ANSI C header files. */
85
+ # ifndef STDC_HEADERS
86
+ #define STDC_HEADERS
87
+ # endif
88
+
89
+ /* whether byteorder is bigendian */
90
+ /* #undef WORDS_BIGENDIAN */
91
+
92
+ /* Define to allow retrieving the byte offsets for attribute names and values.
93
+ */
94
+ /* #undef XML_ATTR_INFO */
95
+
96
+ /* Define to specify how much context to retain around the current parse
97
+ point, 0 to disable. */
98
+ # define XML_CONTEXT_BYTES 1024
99
+
100
+ # if ! defined(_WIN32)
101
+ /* Define to include code reading entropy from `/dev/urandom'. */
102
+ /* #undef XML_DEV_URANDOM */
103
+ # endif
104
+
105
+ /* Define to make parameter entity parsing functionality available. */
106
+ #define XML_DTD
107
+
108
+ /* Define as 1/0 to enable/disable support for general entities. */
109
+ # define XML_GE 1
110
+
111
+ /* Define to make XML Namespaces functionality available. */
112
+ #define XML_NS
113
+
114
+ /* Define to __FUNCTION__ or "" if `__func__' does not conform to ANSI C. */
115
+ # ifdef _MSC_VER
116
+ # define __func__ __FUNCTION__
117
+ # endif
118
+
119
+ /* Define to `long' if <sys/types.h> does not define. */
120
+ /* #undef off_t */
121
+
122
+ #endif // ndef EXPAT_CONFIG_H
@@ -0,0 +1,168 @@
1
+ /*
2
+ __ __ _
3
+ ___\ \/ /_ __ __ _| |_
4
+ / _ \\ /| '_ \ / _` | __|
5
+ | __// \| |_) | (_| | |_
6
+ \___/_/\_\ .__/ \__,_|\__|
7
+ |_| XML parser
8
+
9
+ Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
10
+ Copyright (c) 2000 Clark Cooper <coopercc@users.sourceforge.net>
11
+ Copyright (c) 2000-2004 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
12
+ Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
13
+ Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net>
14
+ Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
15
+ Copyright (c) 2016-2025 Sebastian Pipping <sebastian@pipping.org>
16
+ Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
17
+ Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
18
+ Copyright (c) 2026 Matthew Fernandez <matthew.fernandez@gmail.com>
19
+ Licensed under the MIT license:
20
+
21
+ Permission is hereby granted, free of charge, to any person obtaining
22
+ a copy of this software and associated documentation files (the
23
+ "Software"), to deal in the Software without restriction, including
24
+ without limitation the rights to use, copy, modify, merge, publish,
25
+ distribute, sublicense, and/or sell copies of the Software, and to permit
26
+ persons to whom the Software is furnished to do so, subject to the
27
+ following conditions:
28
+
29
+ The above copyright notice and this permission notice shall be included
30
+ in all copies or substantial portions of the Software.
31
+
32
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
34
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
35
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
36
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
37
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
38
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
39
+
40
+ SPDX-License-Identifier: MIT
41
+ */
42
+
43
+ #ifndef Expat_External_INCLUDED
44
+ # define Expat_External_INCLUDED 1
45
+
46
+ /* External API definitions */
47
+
48
+ /* Expat tries very hard to make the API boundary very specifically
49
+ defined. There are two macros defined to control this boundary;
50
+ each of these can be defined before including this header to
51
+ achieve some different behavior, but doing so is not recommended or
52
+ tested frequently.
53
+
54
+ XMLCALL - The calling convention to use for all calls across the
55
+ "library boundary." This will default to cdecl, and
56
+ try really hard to tell the compiler that's what we
57
+ want.
58
+
59
+ XMLIMPORT - Whatever magic is needed to note that a function is
60
+ to be imported from a dynamically loaded library
61
+ (.dll, .so, or .sl, depending on your platform).
62
+
63
+ The XMLCALL macro was added in Expat 1.95.7. The only one which is
64
+ expected to be directly useful in client code is XMLCALL.
65
+
66
+ Note that on at least some Unix versions, the Expat library must be
67
+ compiled with the cdecl calling convention as the default since
68
+ system headers may assume the cdecl convention.
69
+ */
70
+ # ifndef XMLCALL
71
+ # if defined(_MSC_VER)
72
+ # define XMLCALL __cdecl
73
+ # elif defined(__GNUC__) && defined(__i386) && ! defined(__INTEL_COMPILER)
74
+ # define XMLCALL __attribute__((cdecl))
75
+ # else
76
+ /* For any platform which uses this definition and supports more than
77
+ one calling convention, we need to extend this definition to
78
+ declare the convention used on that platform, if it's possible to
79
+ do so.
80
+
81
+ If this is the case for your platform, please file a bug report
82
+ with information on how to identify your platform via the C
83
+ pre-processor and how to specify the same calling convention as the
84
+ platform's malloc() implementation.
85
+ */
86
+ # define XMLCALL
87
+ # endif
88
+ # endif /* not defined XMLCALL */
89
+
90
+ # if ! defined(XML_STATIC) && ! defined(XMLIMPORT)
91
+ # ifndef XML_BUILDING_EXPAT
92
+ /* using Expat from an application */
93
+
94
+ # if defined(_MSC_VER) && ! defined(__BEOS__) && ! defined(__CYGWIN__)
95
+ # define XMLIMPORT __declspec(dllimport)
96
+ # endif
97
+
98
+ # endif
99
+ # endif /* not defined XML_STATIC */
100
+
101
+ # ifndef XML_ENABLE_VISIBILITY
102
+ # define XML_ENABLE_VISIBILITY 0
103
+ # endif
104
+
105
+ # if ! defined(XMLIMPORT) && XML_ENABLE_VISIBILITY
106
+ # define XMLIMPORT __attribute__((visibility("default")))
107
+ # endif
108
+
109
+ /* If we didn't define it above, define it away: */
110
+ # ifndef XMLIMPORT
111
+ # define XMLIMPORT
112
+ # endif
113
+
114
+ # if defined(__GNUC__) \
115
+ && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
116
+ # define XML_ATTR_MALLOC __attribute__((__malloc__))
117
+ # else
118
+ # define XML_ATTR_MALLOC
119
+ # endif
120
+
121
+ # if defined(__GNUC__) \
122
+ && ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
123
+ # define XML_ATTR_ALLOC_SIZE(x) __attribute__((__alloc_size__(x)))
124
+ # else
125
+ # define XML_ATTR_ALLOC_SIZE(x)
126
+ # endif
127
+
128
+ # define XMLPARSEAPI(type) XMLIMPORT type XMLCALL
129
+
130
+ # ifdef __cplusplus
131
+ extern "C" {
132
+ # endif
133
+
134
+ # ifdef XML_UNICODE_WCHAR_T
135
+ # ifndef XML_UNICODE
136
+ # define XML_UNICODE
137
+ # endif
138
+ # if defined(__SIZEOF_WCHAR_T__) && (__SIZEOF_WCHAR_T__ != 2)
139
+ # error "sizeof(wchar_t) != 2; Need -fshort-wchar for both Expat and libc"
140
+ # endif
141
+ # endif
142
+
143
+ # ifdef XML_UNICODE /* Information is UTF-16 encoded. */
144
+ # ifdef XML_UNICODE_WCHAR_T
145
+ typedef wchar_t XML_Char;
146
+ typedef wchar_t XML_LChar;
147
+ # else
148
+ typedef unsigned short XML_Char;
149
+ typedef char XML_LChar;
150
+ # endif /* XML_UNICODE_WCHAR_T */
151
+ # else /* Information is UTF-8 encoded. */
152
+ typedef char XML_Char;
153
+ typedef char XML_LChar;
154
+ # endif /* XML_UNICODE */
155
+
156
+ # ifdef XML_LARGE_SIZE /* Use large integers for file/stream positions. */
157
+ typedef long long XML_Index;
158
+ typedef unsigned long long XML_Size;
159
+ # else
160
+ typedef long XML_Index;
161
+ typedef unsigned long XML_Size;
162
+ # endif /* XML_LARGE_SIZE */
163
+
164
+ # ifdef __cplusplus
165
+ }
166
+ # endif
167
+
168
+ #endif /* not Expat_External_INCLUDED */