API Reference Manual 1.51.0
Loading...
Searching...
No Matches
api/spec/version.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2013-2018 Linaro Limited
3 * Copyright (c) 2020-2021 Nokia
4 */
5
12#ifndef ODP_API_SPEC_VERSION_H_
13#define ODP_API_SPEC_VERSION_H_
14#include <odp/visibility_begin.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
37#define ODP_VERSION_API_GENERATION 1
38
45#define ODP_VERSION_API_MAJOR 51
46
54#define ODP_VERSION_API_MINOR 0
55
61#define ODP_VERSION_API_NUM(gen, ma, mi) ((gen) << 24 | (ma) << 16 | (mi) << 8)
62
69#define ODP_VERSION_API ODP_VERSION_API_NUM(ODP_VERSION_API_GENERATION, \
70 ODP_VERSION_API_MAJOR, \
71 ODP_VERSION_API_MINOR)
72
83const char *odp_version_api_str(void);
84
95const char *odp_version_impl_name(void);
96
111const char *odp_version_impl_str(void);
116#ifdef __cplusplus
117}
118#endif
119
120#include <odp/visibility_end.h>
121#endif
const char * odp_version_impl_str(void)
Implementation version string.
const char * odp_version_impl_name(void)
Implementation name string.
const char * odp_version_api_str(void)
ODP API version string.