|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <completion.h>
Data Fields | |
| uint32_t | size |
| mln_completion_callback | callback |
| void * | user_data |
| mln_user_data_release | release_user_data |
| mln_delivery_queue | queue |
The callback that receives an asynchronous function's result.
Lifetimes: When the function returns MLN_STATUS_OK, the callback runs once, and it can run before the function returns. When the function fails, the callback never runs. A command also accepts a null completion when the caller doesn't need its result.
| mln_completion_callback mln_completion::callback |
| mln_delivery_queue mln_completion::queue |
| mln_user_data_release mln_completion::release_user_data |
| uint32_t mln_completion::size |
| void* mln_completion::user_data |