1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Expose rpmalloc init/finalize functions.

This commit is contained in:
Bartosz Taudul
2020-12-26 14:57:54 +01:00
parent 1a1df0229d
commit a467ef4c2b
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -166,7 +166,7 @@ typedef struct rpmalloc_config_t {
} rpmalloc_config_t;
//! Initialize allocator with default configuration
RPMALLOC_EXPORT int
TRACY_API int
rpmalloc_initialize(void);
//! Initialize allocator with given configuration
@@ -178,15 +178,15 @@ RPMALLOC_EXPORT const rpmalloc_config_t*
rpmalloc_config(void);
//! Finalize allocator
RPMALLOC_EXPORT void
TRACY_API void
rpmalloc_finalize(void);
//! Initialize allocator for calling thread
RPMALLOC_EXPORT void
TRACY_API void
rpmalloc_thread_initialize(void);
//! Finalize allocator for calling thread
RPMALLOC_EXPORT void
TRACY_API void
rpmalloc_thread_finalize(void);
//! Perform deferred deallocations pending for the calling thread heap