Logo Search packages:      
Sourcecode: librasterlite version File versions  Download package

void* xmalloc ( size_t  size )

Memory allocation

This function allocates one-dimensional array of desired size.

sizeSize in bytes
Array pointer
This function halts program if all virtual memory is exhausted.

Definition at line 27 of file mem_alloc.c.

Referenced by alloc_linked_list(), alloc_LIS_slots(), alloc_list_node(), analysis_2D(), eps_decode_grayscale_block(), eps_decode_truecolor_block(), eps_encode_grayscale_block(), eps_encode_truecolor_block(), eps_get_fb_info(), eps_xmalloc(), malloc_2D(), speck_decode(), speck_encode(), and synthesis_2D().

    void *ptr;

    ptr = malloc(size);

    return ptr;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index