MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
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
14extern "C" {
15#endif
16
18typedef void (*mln_wake_callback)(void* user_data);
19
47typedef struct mln_wake {
48 mln_wake_callback callback MLN_BINDING("nullable=true");
49 void* user_data MLN_BINDING("kind=context");
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
void(*) mln_user_data_release(void *user_data)
Definition base.h:205
#define MLN_BINDING(contract)
Definition binding.h:17
Definition wake.h:47
mln_user_data_release release_user_data
Definition wake.h:54
void(*) mln_wake_callback(void *user_data)
Definition wake.h:18