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

Go to the source code of this file.

Functions

const char * mln_thread_last_error_message (void)
 

Detailed Description

Public C API declarations for diagnostics.

Function Documentation

◆ mln_thread_last_error_message()

const char * mln_thread_last_error_message ( void )

Returns the last thread-local diagnostic message.

The returned string is empty when no diagnostic is available. The pointer is owned by the C API and remains valid until the next C API call on the same thread that writes a thread-local diagnostic.