summaryrefslogtreecommitdiff
path: root/ace/Malloc_Allocator.i
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-23 22:32:52 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-23 22:32:52 +0000
commit93380c321ac3b61beeb5a9d21d5606e2e4cfbc17 (patch)
tree092b4c4e30a770705c9129c5d853939db526bfb0 /ace/Malloc_Allocator.i
parent6715c7524edc61be3cc2822288a5522bf589ae54 (diff)
downloadATCD-93380c321ac3b61beeb5a9d21d5606e2e4cfbc17.tar.gz
ChangeLogTag:Mon Oct 23 15:31:52 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace/Malloc_Allocator.i')
-rw-r--r--ace/Malloc_Allocator.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Malloc_Allocator.i b/ace/Malloc_Allocator.i
index 0b11ffadcff..045f4aec13b 100644
--- a/ace/Malloc_Allocator.i
+++ b/ace/Malloc_Allocator.i
@@ -140,6 +140,14 @@ ACE_Static_Allocator_Base::calloc (size_t nbytes,
return (void *) ptr;
}
+ACE_INLINE void *
+ACE_Static_Allocator_Base::calloc (size_t n_elem,
+ size_t elem_size,
+ char initial_value)
+{
+ return this->calloc (n_elem * elem_size, initial_value);
+}
+
ACE_INLINE void
ACE_Static_Allocator_Base::free (void *ptr)
{