mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
20 lines
284 B
C
20 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
|
|
|