MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Toggle main menu visibility
Loading...
Searching...
No Matches
include
maplibre_native_c
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
39
extern
"C"
{
40
#endif
41
43
MLN_BINDING
(
"kind=native_pointer;ownership=borrowed;lifetime=process"
)
44
MLN_API mln_plugin_register_function_v1
45
mln_plugin_get_register_function_v1
(
void
) MLN_NOEXCEPT;
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
// MAPLIBRE_NATIVE_C_PLUGIN_H
base.h
MLN_BINDING
#define MLN_BINDING(contract)
Definition
binding.h:17
mln_plugin_get_register_function_v1
mln_plugin_register_function_v1 mln_plugin_get_register_function_v1(void)
Generated by
1.18.0