LMMC
Lamina Mathematic core
载入中...
搜索中...
未找到
init.h
浏览该文件的文档.
1
8#ifndef LMMC_INIT_H
9#define LMMC_INIT_H
10
11#include <stddef.h>
12
13#include "lmmc/status.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
30
43
58lmmc_status_t lmmc_stack_reset(size_t pool_size);
59
60#ifdef LMMC_DEBUG_LEAKS
70long long lmmc_debug_leaks_get_count(void);
71#endif /* LMMC_DEBUG_LEAKS */
72
73#ifdef __cplusplus
74}
75#endif
76
77#endif
lmmc_status_t lmmc_stack_reset(size_t pool_size)
Reset the current thread's LMMP temporary-stack capacity.
定义 init.c:33
lmmc_status_t lmmc_deinit(void)
Release one lifecycle lease owned by the current thread.
定义 init.c:22
lmmc_status_t lmmc_init(void)
获取当前线程的 LMMC 生命周期租约.
定义 init.c:11
long long lmmc_debug_leaks_get_count(void)
Get the number of persistent allocations currently owned by LMMC.
LMMC 通用状态码定义.
lmmc_status_t
LMMC 库统一返回的状态码.