mirror of
https://github.com/storytold/k4a-sys-temp.git
synced 2026-10-18 07:33:37 +00:00
Split vendor/include into windows and linux versions, because the headers are slightly different. The issue I noticed is
k4a_export.h uses decltype on windows, and something else on linux. For this reason I just took the k4a/*.h from /usr/local/include and added them here.
This commit is contained in:
Vendored
+2276
File diff suppressed because it is too large
Load Diff
Vendored
+1441
File diff suppressed because it is too large
Load Diff
+42
@@ -0,0 +1,42 @@
|
||||
|
||||
#ifndef K4A_EXPORT_H
|
||||
#define K4A_EXPORT_H
|
||||
|
||||
#ifdef K4A_STATIC_DEFINE
|
||||
# define K4A_EXPORT
|
||||
# define K4A_NO_EXPORT
|
||||
#else
|
||||
# ifndef K4A_EXPORT
|
||||
# ifdef k4a_EXPORTS
|
||||
/* We are building this library */
|
||||
# define K4A_EXPORT __attribute__((visibility("default")))
|
||||
# else
|
||||
/* We are using this library */
|
||||
# define K4A_EXPORT __attribute__((visibility("default")))
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef K4A_NO_EXPORT
|
||||
# define K4A_NO_EXPORT __attribute__((visibility("hidden")))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef K4A_DEPRECATED
|
||||
# define K4A_DEPRECATED __attribute__ ((__deprecated__))
|
||||
#endif
|
||||
|
||||
#ifndef K4A_DEPRECATED_EXPORT
|
||||
# define K4A_DEPRECATED_EXPORT K4A_EXPORT K4A_DEPRECATED
|
||||
#endif
|
||||
|
||||
#ifndef K4A_DEPRECATED_NO_EXPORT
|
||||
# define K4A_DEPRECATED_NO_EXPORT K4A_NO_EXPORT K4A_DEPRECATED
|
||||
#endif
|
||||
|
||||
#if 0 /* DEFINE_NO_DEPRECATED */
|
||||
# ifndef K4A_NO_DEPRECATED
|
||||
# define K4A_NO_DEPRECATED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Vendored
+1271
File diff suppressed because it is too large
Load Diff
+16
@@ -0,0 +1,16 @@
|
||||
/* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the MIT License. */
|
||||
|
||||
#ifndef K4AVERSION_H
|
||||
#define K4AVERSION_H
|
||||
|
||||
#define K4A_VERSION_MAJOR 1
|
||||
#define K4A_VERSION_MINOR 3
|
||||
#define K4A_VERSION_PATCH 0
|
||||
#define K4A_VERSION_PRERELEASE "private"
|
||||
#define K4A_VERSION_BUILD_METADATA ""
|
||||
|
||||
#define K4A_VERSION_STR "1.3.0-private"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user