mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
21 lines
291 B
C
21 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
|
|
|