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

#include <hash-table.h>

Static Public Member Functions

static Typedata_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)
Allocate memory for COUNT data blocks.   

References count, and ggc_alloc().

◆ data_free()

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

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