aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/libghostty-vt/pkg/wuffs/include/stdlib.h
blob: 5c050743865d24e3f3e4d352ea3129b5ac3b35d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Minimal stdlib.h so that wuffs can be translated and compiled without
// requiring libc headers. See string.h in this directory for details.
#ifndef GHOSTTY_WUFFS_STDLIB_H
#define GHOSTTY_WUFFS_STDLIB_H

#include <stddef.h>

void *malloc(size_t size);
void *calloc(size_t count, size_t size);
void *realloc(void *ptr, size_t size);
void free(void *ptr);

#endif