LMMC
Lamina Mathematic core
Toggle main menu visibility
载入中...
搜索中...
未找到
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
16
extern
"C"
{
17
#endif
18
29
lmmc_status_t
lmmc_init
(
void
);
30
42
lmmc_status_t
lmmc_deinit
(
void
);
43
58
lmmc_status_t
lmmc_stack_reset
(
size_t
pool_size);
59
60
#ifdef LMMC_DEBUG_LEAKS
70
long
long
lmmc_debug_leaks_get_count
(
void
);
71
#endif
/* LMMC_DEBUG_LEAKS */
72
73
#ifdef __cplusplus
74
}
75
#endif
76
77
#endif
lmmc_stack_reset
lmmc_status_t lmmc_stack_reset(size_t pool_size)
Reset the current thread's LMMP temporary-stack capacity.
定义
init.c:33
lmmc_deinit
lmmc_status_t lmmc_deinit(void)
Release one lifecycle lease owned by the current thread.
定义
init.c:22
lmmc_init
lmmc_status_t lmmc_init(void)
获取当前线程的 LMMC 生命周期租约.
定义
init.c:11
lmmc_debug_leaks_get_count
long long lmmc_debug_leaks_get_count(void)
Get the number of persistent allocations currently owned by LMMC.
定义
memory_bridge.c:111
status.h
LMMC 通用状态码定义.
lmmc_status_t
lmmc_status_t
LMMC 库统一返回的状态码.
定义
status.h:22
lmmc
init.h
生成于
, 为 LMMC使用
1.18.0