MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
plugin.h
Go to the documentation of this file.
1
5
6#ifndef MAPLIBRE_NATIVE_C_PLUGIN_H
7#define MAPLIBRE_NATIVE_C_PLUGIN_H
8
9// Installs and Apple frameworks carry upstream's header beside this one.
10#if __has_include("../mln/plugin/plugin_api.h")
11#include "../mln/plugin/plugin_api.h" // IWYU pragma: export
12#else
13#include <mln/plugin/plugin_api.h> // IWYU pragma: export
14#endif
15
16#include "base.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
33MLN_BINDING("kind=native_pointer;ownership=borrowed;lifetime=process")
34MLN_API mln_plugin_register_function_v1
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif // MAPLIBRE_NATIVE_C_PLUGIN_H
mln_plugin_register_function_v1 mln_plugin_get_register_function_v1(void)