PI_Malloc.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // PI_Malloc.inl,v 4.2 2005/10/28 16:14:54 ossama Exp
00004 
00005 #if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1)
00006 
00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00008 
00009 ACE_INLINE
00010 ACE_PI_Control_Block::ACE_Name_Node::~ACE_Name_Node (void)
00011 {
00012 }
00013 
00014 ACE_INLINE void
00015 ACE_PI_Control_Block::ACE_Malloc_Header::init_ptr
00016   (MALLOC_HEADER_PTR *ptr, ACE_Malloc_Header *init, void *base_addr)
00017 {
00018   new ((void *) ptr) MALLOC_HEADER_PTR (base_addr, 0);
00019   *ptr = init;
00020 }
00021 
00022 ACE_INLINE void
00023 ACE_PI_Control_Block::ACE_Name_Node::init_ptr
00024   (NAME_NODE_PTR *ptr, ACE_Name_Node *init, void *base_addr)
00025 {
00026   new ((void *) ptr) NAME_NODE_PTR (base_addr, 0);
00027   *ptr = init;
00028 }
00029 
00030 ACE_END_VERSIONED_NAMESPACE_DECL
00031 
00032 #endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */
00033 

Generated on Thu Nov 9 09:41:59 2006 for ACE by doxygen 1.3.6