GCC Middle and Back End API Reference
xcallocator< Type > Struct Template Reference

#include <hash-table.h>

Static Public Member Functions

static Type * control_alloc (size_t count)
static Type * data_alloc (size_t count)
static void control_free (Type *memory)
static void data_free (Type *memory)

Detailed Description

template<typename Type>
struct xcallocator< Type >

   The ordinary memory allocator.  
   FIXME (crowl): This allocator may be extracted for wider sharing later.  

Member Function Documentation

template<typename Type >
Type * xcallocator< Type >::control_alloc ( size_t  count)
inlinestatic
   Allocate memory for COUNT control blocks.  

References count.

template<typename Type >
void xcallocator< Type >::control_free ( Type *  memory)
inlinestatic
   Free memory for control blocks.  

References free().

template<typename Type >
Type * xcallocator< Type >::data_alloc ( size_t  count)
inlinestatic
   Allocate memory for COUNT data blocks.  

References free().

template<typename Type >
void xcallocator< Type >::data_free ( Type *  memory)
inlinestatic
   Free memory for data blocks.  

The documentation for this struct was generated from the following file: