libghostty-vt
1.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
90
123
GHOSTTY_API
void
*
ghostty_wasm_alloc
(
size_t
len);
124
132
GHOSTTY_API
void
ghostty_wasm_free
(
void
*ptr,
size_t
len);
133
142
GHOSTTY_API
void
**
ghostty_wasm_alloc_opaque
(
void
);
143
150
GHOSTTY_API
void
ghostty_wasm_free_opaque
(
void
**ptr);
151
164
GHOSTTY_API
void
*
ghostty_wasm_take_opaque
(
void
**slot);
165
167
168
#endif
/* __wasm__ */
169
170
#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