Spaces:
Sleeping
Sleeping
/* | |
__ __ _ | |
___\ \/ /_ __ __ _| |_ | |
/ _ \\ /| '_ \ / _` | __| | |
| __// \| |_) | (_| | |_ | |
\___/_/\_\ .__/ \__,_|\__| | |
|_| XML parser | |
Copyright (c) 1997-2000 Thai Open Source Software Center Ltd | |
Copyright (c) 2000 Clark Cooper <[email protected]> | |
Copyright (c) 2000-2004 Fred L. Drake, Jr. <[email protected]> | |
Copyright (c) 2001-2002 Greg Stein <[email protected]> | |
Copyright (c) 2002-2006 Karl Waclawek <[email protected]> | |
Copyright (c) 2016 Cristian Rodríguez <[email protected]> | |
Copyright (c) 2016-2019 Sebastian Pipping <[email protected]> | |
Copyright (c) 2017 Rhodri James <[email protected]> | |
Copyright (c) 2018 Yury Gribov <[email protected]> | |
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 it 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; | |
} | |