summaryrefslogtreecommitdiff
path: root/ace/Malloc_Allocator.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Malloc_Allocator.i')
-rw-r--r--ace/Malloc_Allocator.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/Malloc_Allocator.i b/ace/Malloc_Allocator.i
index 31e2abc9b2b..0b11ffadcff 100644
--- a/ace/Malloc_Allocator.i
+++ b/ace/Malloc_Allocator.i
@@ -22,6 +22,12 @@ ACE_New_Allocator::calloc (size_t nbytes,
return (void *) ptr;
}
+ACE_INLINE void *
+ACE_New_Allocator::calloc (size_t n_elem, size_t elem_size, char initial_value)
+{
+ return ACE_New_Allocator::calloc (n_elem * elem_size, initial_value);
+}
+
ACE_INLINE void
ACE_New_Allocator::free (void *ptr)
{