Function

MaplibreNativeFfiRuntimeEventCallback

Declaration

void
(* MaplibreNativeFfiRuntimeEventCallback) (
  GPtrArray* events,
  gpointer user_data
)

Description [src]

Receives a batch of events.

See mln_runtime_event_callback in the C API reference.

Parameters

events

Type: An array of const MaplibreNativeFfiRuntimeEvent*

The items.

The data is owned by the caller of the function.
user_data

Type: gpointer

The data that the callback’s setter received.

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