Mercurial > minori
comparison dep/pugixml/src/pugiconfig.hpp @ 55:d10b6c6b432e
add xml lib, we will need to use it eventually
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Tue, 26 Sep 2023 12:37:08 -0400 |
| parents | |
| children | a45edd073f9e |
comparison
equal
deleted
inserted
replaced
| 54:466ac9870df9 | 55:d10b6c6b432e |
|---|---|
| 1 /** | |
| 2 * pugixml parser - version 1.13 | |
| 3 * -------------------------------------------------------- | |
| 4 * Copyright (C) 2006-2022, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) | |
| 5 * Report bugs and download new versions at https://pugixml.org/ | |
| 6 * | |
| 7 * This library is distributed under the MIT License. See notice at the end | |
| 8 * of this file. | |
| 9 * | |
| 10 * This work is based on the pugxml parser, which is: | |
| 11 * Copyright (C) 2003, by Kristen Wegner (kristen@tima.net) | |
| 12 */ | |
| 13 | |
| 14 #ifndef HEADER_PUGICONFIG_HPP | |
| 15 #define HEADER_PUGICONFIG_HPP | |
| 16 | |
| 17 // Uncomment this to enable wchar_t mode | |
| 18 // #define PUGIXML_WCHAR_MODE | |
| 19 | |
| 20 // Uncomment this to enable compact mode | |
| 21 // #define PUGIXML_COMPACT | |
| 22 | |
| 23 // Uncomment this to disable XPath | |
| 24 // #define PUGIXML_NO_XPATH | |
| 25 | |
| 26 // Uncomment this to disable STL | |
| 27 // #define PUGIXML_NO_STL | |
| 28 | |
| 29 // Uncomment this to disable exceptions | |
| 30 // #define PUGIXML_NO_EXCEPTIONS | |
| 31 | |
| 32 // Set this to control attributes for public classes/functions, i.e.: | |
| 33 // #define PUGIXML_API __declspec(dllexport) // to export all public symbols from DLL | |
| 34 // #define PUGIXML_CLASS __declspec(dllimport) // to import all classes from DLL | |
| 35 // #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall | |
| 36 // In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead | |
| 37 | |
| 38 // Tune these constants to adjust memory-related behavior | |
| 39 // #define PUGIXML_MEMORY_PAGE_SIZE 32768 | |
| 40 // #define PUGIXML_MEMORY_OUTPUT_STACK 10240 | |
| 41 // #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096 | |
| 42 | |
| 43 // Tune this constant to adjust max nesting for XPath queries | |
| 44 // #define PUGIXML_XPATH_DEPTH_LIMIT 1024 | |
| 45 | |
| 46 // Uncomment this to switch to header-only version | |
| 47 // #define PUGIXML_HEADER_ONLY | |
| 48 | |
| 49 // Uncomment this to enable long long support | |
| 50 // #define PUGIXML_HAS_LONG_LONG | |
| 51 | |
| 52 #endif | |
| 53 | |
| 54 /** | |
| 55 * Copyright (c) 2006-2022 Arseny Kapoulkine | |
| 56 * | |
| 57 * Permission is hereby granted, free of charge, to any person | |
| 58 * obtaining a copy of this software and associated documentation | |
| 59 * files (the "Software"), to deal in the Software without | |
| 60 * restriction, including without limitation the rights to use, | |
| 61 * copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 62 * copies of the Software, and to permit persons to whom the | |
| 63 * Software is furnished to do so, subject to the following | |
| 64 * conditions: | |
| 65 * | |
| 66 * The above copyright notice and this permission notice shall be | |
| 67 * included in all copies or substantial portions of the Software. | |
| 68 * | |
| 69 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
| 70 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
| 71 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
| 72 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 73 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
| 74 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 75 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
| 76 * OTHER DEALINGS IN THE SOFTWARE. | |
| 77 */ |
