Skip to content

Commit e7ff3bf

Browse files
committed
updated pugixml source
add LoadFromMemory function to allow loading xml strings directly from memory rather than a file
1 parent f746636 commit e7ff3bf

File tree

6 files changed

+3858
-1461
lines changed

6 files changed

+3858
-1461
lines changed

include/pugixml/pugiconfig.hpp

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* pugixml parser - version 1.2
2+
* pugixml parser - version 1.6
33
* --------------------------------------------------------
4-
* Copyright (C) 2006-2012, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
4+
* Copyright (C) 2006-2015, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
55
* Report bugs and download new versions at http://pugixml.org/
66
*
77
* This library is distributed under the MIT License. See notice at the end
@@ -32,19 +32,21 @@
3232
// #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
3333
// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
3434

35-
// Uncomment this to switch to header-only version
36-
// #define PUGIXML_HEADER_ONLY
37-
// #include "pugixml.cpp"
38-
3935
// Tune these constants to adjust memory-related behavior
4036
// #define PUGIXML_MEMORY_PAGE_SIZE 32768
4137
// #define PUGIXML_MEMORY_OUTPUT_STACK 10240
4238
// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096
4339

40+
// Uncomment this to switch to header-only version
41+
// #define PUGIXML_HEADER_ONLY
42+
43+
// Uncomment this to enable long long support
44+
// #define PUGIXML_HAS_LONG_LONG
45+
4446
#endif
4547

4648
/**
47-
* Copyright (c) 2006-2012 Arseny Kapoulkine
49+
* Copyright (c) 2006-2015 Arseny Kapoulkine
4850
*
4951
* Permission is hereby granted, free of charge, to any person
5052
* obtaining a copy of this software and associated documentation

0 commit comments

Comments
 (0)