mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
10 lines
241 B
C
10 lines
241 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <stddef.h>
|
||
|
|
#include "macros.h"
|
||
|
|
|
||
|
|
void *xmalloc(size_t size) XMALLOC;
|
||
|
|
void *xcalloc(size_t nmemb, size_t size) XMALLOC;
|
||
|
|
char *xstrdup(const char *str) XSTRDUP;
|
||
|
|
char *xasprintf(const char *format, ...) PRINTF(1) XMALLOC;
|