Method

GLibSequenceforeach

Declaration

void
g_sequence_foreach (
  GSequence* seq,
  GFunc func,
  gpointer user_data
)

Description

Calls func for each item in the sequence passing user_data to the function. func must not modify the sequence itself.

Available since:2.14
This method is not directly available to language bindings.

Parameters

func GFunc
 

The function to call for each item in seq.

user_data gpointer
 

User data passed to func.

 The argument can be NULL.
 The data is owned by the caller of the function.