Clean up.

This commit is contained in:
2025-12-09 19:41:05 +01:00
parent fa831d3b5f
commit 81792197ff
15 changed files with 191 additions and 453 deletions
-10
View File
@@ -19,14 +19,4 @@ static inline void* rava_safe_realloc(void *ptr, size_t size) {
return new_ptr;
}
static inline void* rava_safe_malloc(size_t size) {
if (size == 0) return NULL;
return malloc(size);
}
static inline void* rava_safe_calloc(size_t count, size_t size) {
if (count == 0 || size == 0) return NULL;
return calloc(count, size);
}
#endif