Mercurial
comparison third_party/luajit/src/lj_alloc.h @ 178:94705b5986b3
[ThirdParty] Added WRK and luajit for load testing.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Thu, 22 Jan 2026 20:10:30 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 177:24fe8ff94056 | 178:94705b5986b3 |
|---|---|
| 1 /* | |
| 2 ** Bundled memory allocator. | |
| 3 ** Donated to the public domain. | |
| 4 */ | |
| 5 | |
| 6 #ifndef _LJ_ALLOC_H | |
| 7 #define _LJ_ALLOC_H | |
| 8 | |
| 9 #include "lj_def.h" | |
| 10 | |
| 11 #ifndef LUAJIT_USE_SYSMALLOC | |
| 12 LJ_FUNC void *lj_alloc_create(PRNGState *rs); | |
| 13 LJ_FUNC void lj_alloc_setprng(void *msp, PRNGState *rs); | |
| 14 LJ_FUNC void lj_alloc_destroy(void *msp); | |
| 15 LJ_FUNC void *lj_alloc_f(void *msp, void *ptr, size_t osize, size_t nsize); | |
| 16 #endif | |
| 17 | |
| 18 #endif |