1
////////////////////////////////////////////////////////////////////////////
5
// Here the behaviour of the exported API is specified.
8
////////////////////////////////////////////////////////////////////////////
10
#ifndef API_H_INCLUDED
11
#define API_H_INCLUDED
31
// Some people might want to use the __stdcall calling convention.
32
// They will have to define USE_STDCALL.
33
#if defined(__linux__ ) || !defined(USE_STDCALL)
36
#define APIDECL WINAPI
42
#define EXTERN_C extern "C"
49
#define PF_INLINE inline
52
#define PF_INLINE static __inline__
60
#if defined (CAMDLL_EXPORTS) || defined (CAMWRAPPER_EXPORTS)
61
#define CAMDLL_API EXTERN_C __declspec(dllexport)
63
#define CAMDLL_API EXTERN_C __declspec(dllimport)
67
#define COMDLL_API EXTERN_C __declspec(dllexport)
69
#define COMDLL_API EXTERN_C __declspec(dllimport)
77
#define COMDLL_API EXTERN_C
82
#endif // API_H_INCLUDED