eds_cdecl.h
1/* Emacs mode: -*- C -*- */
2
3/* Copyright (c) 2015, Isode Limited, London, England.
4 * All rights reserved.
5 *
6 * Acquisition and use of this software and related materials for any
7 * purpose requires a written licence agreement from Isode Limited,
8 * or a written licence from an organisation licenced by Isode Limited
9 * to grant such a licence.
10 *
11 */
12
13/*
14 * eds_cdecl.h
15 *
16 */
17
18/*
19 *
20 * @VERSION@
21 */
22
23#ifndef _EDS_CDECL_H
24#define _EDS_CDECL_H
25
26#ifdef __cplusplus
27
28 #define EDS_CDECL extern "C"
29 #define EDS_CSPEC extern "C"
30 #define EDS_CTYPE "C"
31
32#else
33
34 #define EDS_CDECL extern
35 #define EDS_CSPEC
36 #define EDS_CTYPE
37
38#endif
39
40#ifndef IC_DLLEXPORT
41#ifdef _WIN32
42#define IC_DLLEXPORT __declspec(dllexport)
43#define IC_DLLIMPORT __declspec(dllimport)
44#else
45#define IC_DLLEXPORT
46#define IC_DLLIMPORT
47#endif
48#endif
49
50# ifdef EDS
51# define LIBEDS_CDECL EDS_CSPEC IC_DLLEXPORT
52# else
53# define LIBEDS_CDECL EDS_CSPEC IC_DLLIMPORT
54# endif
55
56#endif /* _EDS_CDECL_H */

All rights reserved © 2002 - 2024 Isode Ltd.