### Function Macro

# GLib array_append_val

since: 2.0

#### Declaration

    #define g_array_append_val (
      a,
      v
    )

#### Description

Adds the value on to the end of the array. The array will grow in size automatically if necessary.

`g_array_append_val()` is a macro which uses a reference to the value parameter `v`. This means that you cannot use it with literal values such as “27”. You must use variables.

Available since: 2.0

This function is not directly available to language bindings.

#### Parameters

`a`

  Type: `-`

  A `GArray`.

`v`

  Type: `-`

  The value to append to the `GArray`.