| 1 |
// This file is generated by ./ci/rebuild-libwit-bindgen-cabi.sh |
| 2 |
|
| 3 |
#include <stdint.h> |
| 4 |
#include <stdlib.h> |
| 5 |
|
| 6 |
extern void *cabi_realloc_wit_bindgen_0_41_0(void *ptr, size_t old_size, size_t align, size_t new_size); |
| 7 |
|
| 8 |
__attribute__((__weak__, __export_name__("cabi_realloc"))) |
| 9 |
void *cabi_realloc(void *ptr, size_t old_size, size_t align, size_t new_size) { |
| 10 |
return cabi_realloc_wit_bindgen_0_41_0(ptr, old_size, align, new_size); |
| 11 |
} |
| 12 |
|
| 13 |
static void *WASIP3_TASK = NULL; |
| 14 |
|
| 15 |
__attribute__((__weak__)) |
| 16 |
void *wasip3_task_set(void *ptr) { |
| 17 |
void *ret = WASIP3_TASK; |
| 18 |
WASIP3_TASK = ptr; |
| 19 |
return ret; |
| 20 |
} |