![]() |
Wise&mystical
1.0
Project about Europe
|
#include <inttypes.h>
#include <stdbool.h>
Go to the source code of this file.
Classes | |
struct | MemNode |
struct | AllocList |
struct | Arena |
struct | MemPool |
struct | ObjPool |
struct | BiStack |
Macros | |
#define | RMEMAPI |
rmem - raylib memory pool and objects pool More... | |
#define | RMEM_VERSION "v1.3" |
Typedefs | |
typedef struct MemNode | MemNode |
typedef struct AllocList | AllocList |
typedef struct Arena | Arena |
typedef struct MemPool | MemPool |
typedef struct ObjPool | ObjPool |
typedef struct BiStack | BiStack |
Enumerations | |
enum | { MEMPOOL_BUCKET_SIZE = 8 , MEMPOOL_BUCKET_BITS = (sizeof(uintptr_t) >> 1) + 1 , MEM_SPLIT_THRESHOLD = sizeof(uintptr_t) * 4 } |
#define RMEMAPI |
rmem - raylib memory pool and objects pool
A quick, efficient, and minimal free list and arena-based allocator
PURPOSE:
CONFIGURATION:
#define RMEM_IMPLEMENTATION Generates the implementation of the library into the included file. If not defined, the library is in header only mode and can be included in other headers or source files without problems. But only ONE file should hold the implementation.
LICENSE: zlib/libpng
Copyright (c) 2019 Kevin 'Assyrianic' Yonan (@assyrianic) and reviewed by Ramon Santamaria (@raysan5)
This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
anonymous enum |