MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_runtime_event Struct Reference

#include <runtime.h>

Data Fields

mln_runtime_event_type type
mln_runtime_event_source_type source_type
uint64_t source
uint64_t generation
mln_runtime_event_payload_type payload_type
mln_buffer_view message
mln_runtime_event_payload payload

Detailed Description

An event that a runtime or one of its maps raised.

Field Documentation

◆ generation

uint64_t mln_runtime_event::generation

For a map event, a map snapshot with this generation or a later one includes what the event reports. Zero for a runtime event.

◆ message

mln_buffer_view mln_runtime_event::message

The error's text for an event that reports a failure, or empty.

◆ payload

mln_runtime_event_payload mln_runtime_event::payload

◆ payload_type

mln_runtime_event_payload_type mln_runtime_event::payload_type

◆ source

uint64_t mln_runtime_event::source

The runtime or map that raised the event, as source_type says.

◆ source_type

mln_runtime_event_source_type mln_runtime_event::source_type

◆ type

mln_runtime_event_type mln_runtime_event::type

The documentation for this struct was generated from the following file: