|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <completion.h>
Data Fields | |
| uint32_t | size |
| mln_status | status |
| uint32_t | value_size |
| uint64_t | generation |
| uint64_t | render_update_generation |
| mln_buffer_view | diagnostic |
| const void * | value |
| size_t | value_count |
The result of an asynchronous function.
Lifetimes: diagnostic and value stay valid until the callback returns. value points at value_count results of the type that the function's annotation names, each value_size bytes apart, so read them with MLN_STRIDED_AT(). value is null when there is no result.
| mln_buffer_view mln_completion_result::diagnostic |
A message that explains a failure. Empty on success.
| uint64_t mln_completion_result::generation |
For a map command, the first mln_map_snapshot generation that includes the change.
| uint64_t mln_completion_result::render_update_generation |
For a map command, the first mln_render_frame_result map update generation that includes the change.
| uint32_t mln_completion_result::size |
| mln_status mln_completion_result::status |
| const void* mln_completion_result::value |
| size_t mln_completion_result::value_count |
| uint32_t mln_completion_result::value_size |