cf4ocl (C Framework for OpenCL)
v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
ccl_export.h
1
2
#ifndef CCL_EXPORT_H
3
#define CCL_EXPORT_H
4
5
#ifdef CCL_STATIC_DEFINE
6
# define CCL_EXPORT
7
# define CCL_NO_EXPORT
8
#else
9
# ifndef CCL_EXPORT
10
# ifdef cf4ocl2_EXPORTS
11
/* We are building this library */
12
# define CCL_EXPORT __attribute__((visibility("default")))
13
# else
14
/* We are using this library */
15
# define CCL_EXPORT __attribute__((visibility("default")))
16
# endif
17
# endif
18
19
# ifndef CCL_NO_EXPORT
20
# define CCL_NO_EXPORT __attribute__((visibility("hidden")))
21
# endif
22
#endif
23
24
#ifndef CCL_DEPRECATED
25
# define CCL_DEPRECATED __attribute__ ((__deprecated__))
26
#endif
27
28
#ifndef CCL_DEPRECATED_EXPORT
29
# define CCL_DEPRECATED_EXPORT CCL_EXPORT CCL_DEPRECATED
30
#endif
31
32
#ifndef CCL_DEPRECATED_NO_EXPORT
33
# define CCL_DEPRECATED_NO_EXPORT CCL_NO_EXPORT CCL_DEPRECATED
34
#endif
35
36
#define DEFINE_NO_DEPRECATED 0
37
#if DEFINE_NO_DEPRECATED
38
# define CCL_NO_DEPRECATED
39
#endif
40
41
#endif
include
cf4ocl2
ccl_export.h
Generated on Mon Jul 4 2016 23:51:47 for cf4ocl (C Framework for OpenCL) by
1.8.7