summaryrefslogtreecommitdiff
path: root/ace/Malloc_Allocator.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2000-10-23 15:50:39 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2000-10-23 15:50:39 +0000
commit9b1774030c7a0c31abdac1e28028678e912b4e4f (patch)
tree0619c75b29586214c51846f197082f23a72f05f7 /ace/Malloc_Allocator.i
parent355cef1adc9949b4608c34756bc9bb2bb1a68625 (diff)
downloadATCD-9b1774030c7a0c31abdac1e28028678e912b4e4f.tar.gz
ChangeLogTag:Mon Oct 23 08:37:49 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
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)
{