|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <runtime.h>
Typed event payload carried inline by every event.
mln_runtime_event.payload_type selects the member. An event whose payload type is MLN_RUNTIME_EVENT_PAYLOAD_NONE carries zeroed payload bytes.
A host that decodes a payload type this version does not define treats the payload as opaque bytes and forwards them unchanged. Those bytes run from the payload's offset within mln_runtime_event to mln_runtime_event_batch.event_size.