LMMP 4.3.0
Lamina High-Precision Arithmetic Library
载入中...
搜索中...
未找到
version.h
浏览该文件的文档.
1/**
2 * Copyright (C) 2026 HJimmyK (Jericho Knox)
3 *
4 * This file is part of LMMP.
5 *
6 * LMMP is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 3 of
9 * the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see
18 * <https://www.gnu.org/licenses/>.
19 *
20 * SPDX-License-Identifier: LGPL-3.0-or-later
21 */
22
23#ifndef LMMP_VERSION_H
24#define LMMP_VERSION_H
25
26#include "lmmp.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/**
33 * @brief 获取 LMMP 的版本字符串.
34 */
35LMMP_API const char* lmmp_get_version(void);
36
37/**
38* @brief 获取 LMMP 的构建类型字符串.
39*/
40LMMP_API const char* lmmp_get_build_type(void);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* LMMP_VERSION_H */
#define LMMP_API
Copyright (C) 2026 HJimmyK (Jericho Knox)
定义 lmmp.h:77
const char * lmmp_get_build_type(void)
获取 LMMP 的构建类型字符串.
const char * lmmp_get_version(void)
Copyright (C) 2026 HJimmyK (Jericho Knox)