summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 528c6cb..8c19851 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -2001,6 +2001,22 @@ namespace pugi
* function you set via this function.
*/
void PUGIXML_FUNCTION set_memory_management_functions(allocation_function allocate, deallocation_function deallocate);
+
+ /**
+ * Get current memory allocation function
+ *
+ * \return memory allocation function
+ * \see set_memory_management_functions
+ */
+ allocation_function PUGIXML_FUNCTION get_memory_allocation_function();
+
+ /**
+ * Get current memory deallocation function
+ *
+ * \return memory deallocation function
+ * \see set_memory_management_functions
+ */
+ deallocation_function PUGIXML_FUNCTION get_memory_deallocation_function();
}
// Inline implementation