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
25
26#ifndef MAPLIBRE_NATIVE_C_PLUGIN_H
27#define MAPLIBRE_NATIVE_C_PLUGIN_H
28
29// Installs and Apple frameworks carry upstream's header beside this one.
30#if __has_include("../mln/plugin/plugin_api.h")
31#include "../mln/plugin/plugin_api.h" // IWYU pragma: export
32#else
33#include <mln/plugin/plugin_api.h> // IWYU pragma: export
34#endif
35
36#include "base.h"
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
43MLN_BINDING("kind=native_pointer;ownership=borrowed;lifetime=process")
44MLN_API mln_plugin_register_function_v1
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif // MAPLIBRE_NATIVE_C_PLUGIN_H
#define MLN_BINDING(contract)
Definition binding.h:17
mln_plugin_register_function_v1 mln_plugin_get_register_function_v1(void)