basics.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2021 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 
6 
7 // Disable declspec(dllexport) warnings:
8 // Classes exported via LRS_EXTENSION_API are **not** part of official librealsense API (at least for now)
9 // Any extension relying on these APIs must be compiled and distributed together with realsense2.dll
10 #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */
11 #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */
12 #ifdef WIN32
13 #define LRS_EXTENSION_API __declspec(dllexport)
14 #else
15 #define LRS_EXTENSION_API
16 #endif


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Thu Dec 22 2022 03:41:42