the whole game

This commit is contained in:
2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#ifdef _RAKNET_SUPPORT_DL_MALLOC
#ifndef __DLMALLOC_OPTIONS_H
#define __DLMALLOC_OPTIONS_H
#include "NativeTypes.h"
#include "Export.h"
#include <stdio.h>
#include <stdlib.h>
#define MSPACES 1
#define ONLY_MSPACES 1
#define USE_DL_PREFIX 1
#define NO_MALLINFO 1
// Make it threadsafe
#define USE_LOCKS 1
extern RAK_DLL_EXPORT void * (*dlMallocMMap) (size_t size);
extern RAK_DLL_EXPORT void * (*dlMallocDirectMMap) (size_t size);
extern RAK_DLL_EXPORT int (*dlMallocMUnmap) (void* ptr, size_t size);
#define MMAP(s) dlMallocMMap(s)
#define MUNMAP(a, s) dlMallocMUnmap((a), (s))
#define DIRECT_MMAP(s) dlMallocDirectMMap(s)
#endif
#endif // _RAKNET_SUPPORT_DL_MALLOC