NVIDIA DriveOS Linux NSR SDK API Reference
7.0.3.0 Release
Version_1.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
* SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4
*
5
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6
* property and proprietary rights in and to this material, related
7
* documentation and any modifications thereto. Any use, reproduction,
8
* disclosure or distribution of this material and related documentation
9
* without an express license agreement from NVIDIA CORPORATION or
10
* its affiliates is strictly prohibited.
11
*/
12
32
#ifndef DW_CORE_BASE_VERSION_H_
33
#define DW_CORE_BASE_VERSION_H_
34
35
#include <dw/core/base/Exports.h>
36
#include <dw/core/base/Status.h>
37
38
#include <stdint.h>
39
40
#ifdef __cplusplus
41
extern
"C"
{
42
#endif
43
44
typedef
struct
45
{
46
int32_t
major
;
// DriveWorks major version, changes with every product
47
// release with a large new feature set.
48
int32_t
minor
;
// DriveWorks minor version, changes with every minor
49
// release containing some features.
50
int32_t
patch
;
// DriveWorks patch version, changes with every bugfix
51
// not containing new features.
52
53
char
hash[41];
// Globally unique identifier of the DriveWorks sources. (git hash == 40 chars)
54
char
extra[16];
// Additional string to be appended to version number, e.g., -rc5, -full.
55
}
dwVersion
;
56
71
DW_API_PUBLIC
dwStatus
dwGetVersion
(
dwVersion
*
const
version);
72
73
#ifdef __cplusplus
74
}
75
#endif
76
78
#include <dw/core/base/VersionCurrent.h>
// configured file
79
80
#endif // DW_CORE_BASE_VERSION_H_
dwGetVersion
DW_API_PUBLIC dwStatus dwGetVersion(dwVersion *const version)
Query the current DriveWorks library version.
dwVersion::major
int32_t major
Definition:
Version_1.h:46
dwVersion
Definition:
Version_1.h:44
dwVersion::minor
int32_t minor
Definition:
Version_1.h:48
dwVersion::patch
int32_t patch
Definition:
Version_1.h:50
dwStatus
dwStatus
Status definition.
Definition:
ErrorDefs.h:27
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition:
Exports.h:38
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Subject to Change | For test and development only.
Thu May 8 2025 00:05:09 | PR-10721-6.0