Function

Gcrsecure_memory_alloc

Declaration [src]

gpointer
gcr_secure_memory_alloc (
  gsize size
)

Description [src]

Allocate a block of non-pageable memory.

If non-pageable memory cannot be allocated then normal memory will be returned.

Parameters

size gsize
 

The new desired size of the memory block.

Return value

Returns: gpointer
 

New memory block which should be freed with gcr_secure_memory_free()