MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
maplibre_native_c.h File Reference

Go to the source code of this file.

Detailed Description

Public C API for low-level MapLibre Native bindings.

Functions that operate on thread-affine handles validate the caller thread and return MLN_STATUS_WRONG_THREAD for owner-thread mismatches. Functions without an explicit owner-thread requirement may be called from any thread.

Status-returning functions clear thread-local diagnostics on entry. After a synchronous failure status is returned, read mln_thread_last_error_message() on the same thread before making another C API call. Asynchronous native failures are reported through runtime events.

This header targets C23.