libghostty-vt
0.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
wasm.h
Go to the documentation of this file.
1
6
7
#ifndef GHOSTTY_VT_WASM_H
8
#define GHOSTTY_VT_WASM_H
9
10
#ifdef __wasm__
11
12
#include <stddef.h>
13
#include <
ghostty/vt/types.h
>
14
74
107
GHOSTTY_API
void
*
ghostty_wasm_alloc
(
size_t
len);
108
116
GHOSTTY_API
void
ghostty_wasm_free
(
void
*ptr,
size_t
len);
117
126
GHOSTTY_API
void
**
ghostty_wasm_alloc_opaque
(
void
);
127
134
GHOSTTY_API
void
ghostty_wasm_free_opaque
(
void
**ptr);
135
148
GHOSTTY_API
void
*
ghostty_wasm_take_opaque
(
void
**slot);
149
151
152
#endif
/* __wasm__ */
153
154
#endif
/* GHOSTTY_VT_WASM_H */
ghostty_wasm_take_opaque
GHOSTTY_API void * ghostty_wasm_take_opaque(void **slot)
ghostty_wasm_free
GHOSTTY_API void ghostty_wasm_free(void *ptr, size_t len)
ghostty_wasm_alloc_opaque
GHOSTTY_API void ** ghostty_wasm_alloc_opaque(void)
ghostty_wasm_free_opaque
GHOSTTY_API void ghostty_wasm_free_opaque(void **ptr)
ghostty_wasm_alloc
GHOSTTY_API void * ghostty_wasm_alloc(size_t len)
types.h
include
ghostty
vt
wasm.h
Generated by
1.17.0