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

#include <runtime.h>

Data Fields

uint32_t event_size
const mln_runtime_event * events
size_t event_count

Detailed Description

A borrowed span of runtime events in one delivery.

Step through events by event_size. The event and message pointers remain valid during the callback, or until the delivery batch is released in queue mode.

Field Documentation

◆ event_count

size_t mln_event_batch_view::event_count

Number of events in events.

◆ event_size

uint32_t mln_event_batch_view::event_size

Stride of one event in bytes, at least sizeof(mln_runtime_event) in the header a caller compiled against. Index events with this value.

◆ events

const mln_runtime_event* mln_event_batch_view::events

Borrowed array of event_count events in queue order.


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