diff options
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 9ae757b..302a015 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -3110,4 +3110,14 @@ namespace pugi global_allocate = allocate;
global_deallocate = deallocate;
}
+
+ allocation_function PUGIXML_FUNCTION get_memory_allocation_function()
+ {
+ return global_allocate;
+ }
+
+ deallocation_function PUGIXML_FUNCTION get_memory_deallocation_function()
+ {
+ return global_deallocate;
+ }
}
|