blob: acf55fe34772b534780f0adb4c2bd4bda5b35ae6 (
plain)
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
|
#ifndef EINA_INTERNAL_H
# define EINA_INTERNAL_H
/*
* eina_internal.h
*
* Lists public functions that are meant for internal use by EFL only and are
* not stable API.
*/
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_EINA_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif /* ! DLL_EXPORT */
# else
# define EAPI __declspec(dllimport)
# endif /* ! EFL_EINA_BUILD */
# define EAPI_WEAK
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# define EAPI_WEAK __attribute__ ((weak))
# else
# define EAPI
# define EAPI_WEAK
# endif
# else
/**
* @def EAPI
* @brief Used to export functions (by changing visibility).
*/
# define EAPI
# endif
#endif
/**
* @brief Cancels all pending promise/futures.
*
* Internal function. Do not use.
*
* @internal
*/
EAPI void __eina_promise_cancel_all(void);
#undef EAPI
#define EAPI
#endif
|