mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
20 lines
291 B
C
20 lines
291 B
C
#pragma once
|
|
|
|
#ifdef SERENITY_KERNEL
|
|
#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
|
|
|