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

#include <hash-table.h>

Static Public Member Functions

static Type * data_alloc (size_t count)
 
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

◆ data_alloc()

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

References count.

◆ data_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: