summaryrefslogtreecommitdiffstats
path: root/Utilities/cmexpat/lib/expat.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-06 13:08:33 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-06 13:08:33 (GMT)
commit182f645801baec94af14ea0deecd6e94fdf999ea (patch)
tree950a6f2783a216b64d31672a632c172943a3656e /Utilities/cmexpat/lib/expat.h
parent9d81f1b3aaa82d12a3a87067572b3ff5e2b9c4d2 (diff)
parenteb83112347e16ac2c54690ae363935df9068ff78 (diff)
downloadCMake-182f645801baec94af14ea0deecd6e94fdf999ea.zip
CMake-182f645801baec94af14ea0deecd6e94fdf999ea.tar.gz
CMake-182f645801baec94af14ea0deecd6e94fdf999ea.tar.bz2
Merge branch 'upstream-expat' into update-expat
* upstream-expat: expat 2016-06-05 (2b9cb7f5)
Diffstat (limited to 'Utilities/cmexpat/lib/expat.h')
-rw-r--r--Utilities/cmexpat/lib/expat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmexpat/lib/expat.h b/Utilities/cmexpat/lib/expat.h
index ec62f14..5abcefd 100644
--- a/Utilities/cmexpat/lib/expat.h
+++ b/Utilities/cmexpat/lib/expat.h
@@ -973,9 +973,12 @@ XML_FreeContentModel(XML_Parser parser, XML_Content *model);
/* Exposing the memory handling functions used in Expat */
XMLPARSEAPI(void *)
+XML_ATTR_MALLOC
+XML_ATTR_ALLOC_SIZE(2)
XML_MemMalloc(XML_Parser parser, size_t size);
XMLPARSEAPI(void *)
+XML_ATTR_ALLOC_SIZE(3)
XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
XMLPARSEAPI(void)