MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Toggle main menu visibility
Loading...
Searching...
No Matches
include
maplibre_native_c
wake.h
Go to the documentation of this file.
1
5
6
#ifndef MAPLIBRE_NATIVE_C_WAKE_H
7
#define MAPLIBRE_NATIVE_C_WAKE_H
8
9
#include <stdint.h>
10
11
#include "
base.h
"
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
18
typedef
void (*
mln_wake_callback
)(
void
* user_data);
19
47
typedef
struct
mln_wake
{
48
mln_wake_callback
callback
MLN_BINDING
(
"nullable=true"
);
49
void
* user_data
MLN_BINDING
(
"kind=context"
);
54
mln_user_data_release
release_user_data
;
55
}
mln_wake
MLN_BINDING
(
"kind=callback_registration;release=release_user_data"
);
56
57
#ifdef __cplusplus
58
}
59
#endif
60
61
#endif
// MAPLIBRE_NATIVE_C_WAKE_H
base.h
mln_user_data_release
void(*) mln_user_data_release(void *user_data)
Definition
base.h:205
MLN_BINDING
#define MLN_BINDING(contract)
Definition
binding.h:17
mln_wake
Definition
wake.h:47
mln_wake::release_user_data
mln_user_data_release release_user_data
Definition
wake.h:54
mln_wake_callback
void(*) mln_wake_callback(void *user_data)
Definition
wake.h:18
Generated by
1.18.0