Download include/expat_external.h from michaelu0826/phantom_env: direct link, hf CLI and curl.
- Browser
- Download file 6.21 kB
-
https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/include/expat_external.h
- Command line
-
hf download hf://datasets/michaelu0826/phantom_env/include/expat_external.h
-
curl -L -o expat_external.h https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/include/expat_external.h
6.21 kB
| /* | |
| __ __ _ | |
| ___\ \/ /_ __ __ _| |_ | |
| / _ \\ /| '_ \ / _` | __| | |
| | __// \| |_) | (_| | |_ | |
| \___/_/\_\ .__/ \__,_|\__| | |
| |_| XML parser | |
| Copyright (c) 1997-2000 Thai Open Source Software Center Ltd | |
| Copyright (c) 2000 Clark Cooper <coopercc@users.sourceforge.net> | |
| Copyright (c) 2000-2004 Fred L. Drake, Jr. <fdrake@users.sourceforge.net> | |
| Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net> | |
| Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net> | |
| Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org> | |
| Copyright (c) 2016-2025 Sebastian Pipping <sebastian@pipping.org> | |
| Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk> | |
| Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com> | |
| Copyright (c) 2026 Matthew Fernandez <matthew.fernandez@gmail.com> | |
| Licensed under the MIT license: | |
| Permission is hereby granted, free of charge, to any person obtaining | |
| a copy of this software and associated documentation files (the | |
| "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, | |
| distribute, sublicense, and/or sell copies of the Software, and to permit | |
| persons to whom the Software is furnished to do so, subject to the | |
| following conditions: | |
| The above copyright notice and this permission notice shall be included | |
| in all copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN | |
| NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | |
| DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | |
| OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | |
| USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| */ | |
| /* External API definitions */ | |
| /* Expat tries very hard to make the API boundary very specifically | |
| defined. There are two macros defined to control this boundary; | |
| each of these can be defined before including this header to | |
| achieve some different behavior, but doing so is not recommended or | |
| tested frequently. | |
| XMLCALL - The calling convention to use for all calls across the | |
| "library boundary." This will default to cdecl, and | |
| try really hard to tell the compiler that's what we | |
| want. | |
| XMLIMPORT - Whatever magic is needed to note that a function is | |
| to be imported from a dynamically loaded library | |
| (.dll, .so, or .sl, depending on your platform). | |
| The XMLCALL macro was added in Expat 1.95.7. The only one which is | |
| expected to be directly useful in client code is XMLCALL. | |
| Note that on at least some Unix versions, the Expat library must be | |
| compiled with the cdecl calling convention as the default since | |
| system headers may assume the cdecl convention. | |
| */ | |
| /* For any platform which uses this definition and supports more than | |
| one calling convention, we need to extend this definition to | |
| declare the convention used on that platform, if it's possible to | |
| do so. | |
| If this is the case for your platform, please file a bug report | |
| with information on how to identify your platform via the C | |
| pre-processor and how to specify the same calling convention as the | |
| platform's malloc() implementation. | |
| */ | |
| /* using Expat from an application */ | |
| /* If we didn't define it above, define it away: */ | |
| extern "C" { | |
| typedef wchar_t XML_Char; | |
| typedef wchar_t XML_LChar; | |
| typedef unsigned short XML_Char; | |
| typedef char XML_LChar; | |
| typedef char XML_Char; | |
| typedef char XML_LChar; | |
| typedef long long XML_Index; | |
| typedef unsigned long long XML_Size; | |
| typedef long XML_Index; | |
| typedef unsigned long XML_Size; | |
| } | |