forked from ItBitCo/JavaFlyCam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFlyCapture2Platform_C.h
78 lines (64 loc) · 2.52 KB
/
FlyCapture2Platform_C.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//=============================================================================
// Copyright © 2017 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of FLIR
// Integrated Imaging Solutions, Inc. ("Confidential Information"). You
// shall not disclose such Confidential Information and shall use it only in
// accordance with the terms of the license agreement you entered into
// with FLIR Integrated Imaging Solutions, Inc. (FLIR).
//
// FLIR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
// SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE, OR NON-INFRINGEMENT. FLIR SHALL NOT BE LIABLE FOR ANY DAMAGES
// SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
// THIS SOFTWARE OR ITS DERIVATIVES.
//=============================================================================
//=============================================================================
// $Id: FlyCapture2Platform_C.h,v 1.5 2010-08-13 18:49:59 soowei Exp $
//=============================================================================
#ifndef PGR_FC2_FLYCAPTURE2PLATFORM_C_H
#define PGR_FC2_FLYCAPTURE2PLATFORM_C_H
//=============================================================================
// Platform-specific header file for FlyCapture2 C.
//
// All the platform-specific code that is required by individual compilers
// to produce the appropriate code for each platform.
//=============================================================================
#if defined(_WIN32) || defined(_WIN64)
// Windows 32-bit and 64-bit
#ifdef FLYCAPTURE2_C_EXPORTS
#define FLYCAPTURE2_C_API __declspec( dllexport )
#elif defined(FLYCAPTURE2_C_STATIC)
#define FLYCAPTURE2_C_API
#else
#define FLYCAPTURE2_C_API __declspec( dllimport )
#endif
#if _MSC_VER > 1000
#pragma once
#endif
// Provide a common naming scheme for fixed-width integer types
#ifdef _MSC_VER
#if _MSC_VER >= 1600
#include <stdint.h>
#else
typedef __int8 int8_t;
typedef __int16 int16_t;
typedef __int32 int32_t;
typedef __int64 int64_t;
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
#endif
#elif __GNUC__ >=3
#include <cstdint>
#endif
#elif defined(MAC_OSX)
// Mac OSX
#else
#define FLYCAPTURE2_C_API
#define FLYCAPTURE2_C_CALL_CONVEN
// Linux and all others
#endif
#endif // PGR_FC2_FLYCAPTURE2PLATFORM_C_H