Method

MaplibreNativeFfiMapis_event_source

Declaration [src]

gboolean
maplibre_native_ffi_map_is_event_source (
  MaplibreNativeFfiMap* self,
  const MaplibreNativeFfiRuntimeEvent* event
)

Description [src]

Whether a runtime event comes from this handle. A handle’s ID needs all of its 64 bits, so compare with this, rather than with maplibre_native_ffi_map_get_id, where numbers are doubles, as in JavaScript.

Parameters

event

Type: MaplibreNativeFfiRuntimeEvent

The event.

The data is owned by the caller of the method.

Return value

Type: gboolean

Whether the event’s source is this handle.