mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-16 22:05:21 -05:00
11 lines
261 B
C
11 lines
261 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <stddef.h>
|
||
|
|
#include <string.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;
|