Function

ICalGLibmemory_new_buffer

since: 1.0

Declaration [src]

void*
i_cal_memory_new_buffer (
  size_t size
)

Description [src]

Creates a new buffer with target size. The caller should deallocate it when necessary.

Available since: 1.0

Parameters

size

Type: size_t

The size of the new buffer to be created.

Return value

Type: void*

The newly created buffer with the target size.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.