diff options
Diffstat (limited to '3rdParty/Expat/src/internal.h')
| -rw-r--r-- | 3rdParty/Expat/src/internal.h | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/3rdParty/Expat/src/internal.h b/3rdParty/Expat/src/internal.h index 94cb98e..dc4ef0c 100644 --- a/3rdParty/Expat/src/internal.h +++ b/3rdParty/Expat/src/internal.h | |||
| @@ -18,6 +18,35 @@ | |||
| 18 | 18 | ||
| 19 | Note: Use of these macros is based on judgement, not hard rules, | 19 | Note: Use of these macros is based on judgement, not hard rules, |
| 20 | and therefore subject to change. | 20 | and therefore subject to change. |
| 21 | __ __ _ | ||
| 22 | ___\ \/ /_ __ __ _| |_ | ||
| 23 | / _ \\ /| '_ \ / _` | __| | ||
| 24 | | __// \| |_) | (_| | |_ | ||
| 25 | \___/_/\_\ .__/ \__,_|\__| | ||
| 26 | |_| XML parser | ||
| 27 | |||
| 28 | Copyright (c) 1997-2000 Thai Open Source Software Center Ltd | ||
| 29 | Copyright (c) 2000-2017 Expat development team | ||
| 30 | Licensed under the MIT license: | ||
| 31 | |||
| 32 | Permission is hereby granted, free of charge, to any person obtaining | ||
| 33 | a copy of this software and associated documentation files (the | ||
| 34 | "Software"), to deal in the Software without restriction, including | ||
| 35 | without limitation the rights to use, copy, modify, merge, publish, | ||
| 36 | distribute, sublicense, and/or sell copies of the Software, and to permit | ||
| 37 | persons to whom the Software is furnished to do so, subject to the | ||
| 38 | following conditions: | ||
| 39 | |||
| 40 | The above copyright notice and this permission notice shall be included | ||
| 41 | in all copies or substantial portions of the Software. | ||
| 42 | |||
| 43 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 44 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| 45 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN | ||
| 46 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
| 47 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
| 48 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | ||
| 49 | USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| 21 | */ | 50 | */ |
| 22 | 51 | ||
| 23 | #if defined(__GNUC__) && defined(__i386__) && !defined(__MINGW32__) | 52 | #if defined(__GNUC__) && defined(__i386__) && !defined(__MINGW32__) |
| @@ -86,8 +115,13 @@ extern "C" { | |||
| 86 | #endif | 115 | #endif |
| 87 | 116 | ||
| 88 | 117 | ||
| 118 | #ifdef XML_ENABLE_VISIBILITY | ||
| 119 | #if XML_ENABLE_VISIBILITY | ||
| 120 | __attribute__ ((visibility ("default"))) | ||
| 121 | #endif | ||
| 122 | #endif | ||
| 89 | void | 123 | void |
| 90 | align_limit_to_full_utf8_characters(const char * from, const char ** fromLimRef); | 124 | _INTERNAL_trim_to_complete_utf8_characters(const char * from, const char ** fromLimRef); |
| 91 | 125 | ||
| 92 | 126 | ||
| 93 | #ifdef __cplusplus | 127 | #ifdef __cplusplus |
Swift