LAMMP 4.2.0
Lamina High-Precision Arithmetic Library
载入中...
搜索中...
未找到
version.h
浏览该文件的文档.
1/**
2 * Copyright (C) 2026 HJimmyK(Jericho Knox)
3 *
4 * This file is part of LAMMP.
5 *
6 * LAMMP is free software: you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License (LGPL) as published
8 * by the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed WITHOUT ANY WARRANTY.
12 *
13 * See <https://www.gnu.org/licenses/>.
14 */
15
16#ifndef LAMMP_VERSION_H
17#define LAMMP_VERSION_H
18
19#include "lmmp.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/**
26 * @brief 获取 LAMMP 的版本字符串.
27 */
28LAMMP_API const char* lmmp_get_version(void);
29
30/**
31* @brief 获取 LAMMP 的构建类型字符串.
32*/
33LAMMP_API const char* lmmp_get_build_type(void);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif /* LAMMP_VERSION_H */
#define LAMMP_API
Definition lmmp.h:61
const char * lmmp_get_build_type(void)
获取 LAMMP 的构建类型字符串.
Definition version.c:23
const char * lmmp_get_version(void)
Copyright (C) 2026 HJimmyK(Jericho Knox)
Definition version.c:19