ladybird/AK/kmalloc.h
2018-10-22 14:06:22 +02:00

21 lines
284 B
C

#pragma once
#ifdef SERENITY
#include <Kernel/kmalloc.h>
#else
#include <new>
#include "Types.h"
extern "C" {
void* kcalloc(size_t nmemb, size_t size);
void* kmalloc(size_t size) __attribute__ ((malloc));
void kfree(void* ptr);
void* krealloc(void* ptr, size_t size);
}
#endif