aboutsummaryrefslogtreecommitdiffstats
path: root/XUtils.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-01-11 20:43:27 +0100
committerDaniel Lange <DLange@git.local>2021-01-11 20:43:27 +0100
commitc55320e9e2a8916e911bcd39ab37b79e3a7d03b2 (patch)
treed6be9a09fdf7d6dc155de3429a70697ee2bb43b0 /XUtils.h
parent65357c8c46154de4e4eca14075bfe5523bb5fc14 (diff)
downloaddebian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.tar.gz
debian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.tar.bz2
debian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.zip
New upstream version 3.0.5upstream/3.0.5
Diffstat (limited to 'XUtils.h')
-rw-r--r--XUtils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/XUtils.h b/XUtils.h
index 19cfadb..9e5e62c 100644
--- a/XUtils.h
+++ b/XUtils.h
@@ -23,10 +23,14 @@ void fail(void) ATTR_NORETURN;
void* xMalloc(size_t size);
+void* xMallocArray(size_t nmemb, size_t size);
+
void* xCalloc(size_t nmemb, size_t size);
void* xRealloc(void* ptr, size_t size);
+void* xReallocArray(void* ptr, size_t nmemb, size_t size);
+
/*
* String_startsWith gives better performance if strlen(match) can be computed
* at compile time (e.g. when they are immutable string literals). :)

© 2014-2024 Faster IT GmbH | imprint | privacy policy