Gegl.malloc
Description: Reference for Gegl.malloc

### Function

# Geglmalloc

#### Declaration [src]

    gpointer
    gegl_malloc (
      gsize n_bytes
    )

#### Description [src]

Allocates `n_bytes` of memory. If `n_bytes` is 0, returns NULL.

Returns a pointer to the allocated memory.

This function is not directly available to language bindings.

skip-reason | unknown_since_9e8f617e

#### Parameters

`n_bytes`

  Type: `gsize`

  The number of bytes to allocte.

#### Return value

Type: `gpointer`

No description available.

The data is owned by the called function.
The return value can be `NULL`.