Maa Framework
(main) v2.2.2
A automation black-box testing framework based on image recognition.
Loading...
Searching...
No Matches
MaaPort.h
Go to the documentation of this file.
1
#pragma once
2
3
// The way how the function is called
4
#if defined(_WIN32)
5
#define MAA_CALL __stdcall
6
#else
7
#define MAA_CALL
8
#endif
9
10
// The function exported symbols
11
#if defined _WIN32 || defined __CYGWIN__
12
#define MAA_DLL_IMPORT __declspec(dllimport)
13
#define MAA_DLL_EXPORT __declspec(dllexport)
14
#define MAA_DLL_LOCAL
15
#else
16
#if __GNUC__ >= 4
17
#define MAA_DLL_IMPORT __attribute__((visibility("default")))
18
#define MAA_DLL_EXPORT __attribute__((visibility("default")))
19
#define MAA_DLL_LOCAL __attribute__((visibility("hidden")))
20
#else
21
#define MAA_DLL_IMPORT
22
#define MAA_DLL_EXPORT
23
#define MAA_DLL_LOCAL
24
#endif
25
#endif
26
27
#if defined _WIN32 || defined __CYGWIN__
28
#define MAA_DEPRECATED __declspec(deprecated)
29
#else
30
#define MAA_DEPRECATED __attribute__((deprecated))
31
#endif
32
33
#ifdef MAA_FRAMEWORK_EXPORTS
// defined if we are building the DLL (instead of using it)
34
#define MAA_FRAMEWORK_API MAA_DLL_EXPORT
35
#else
36
#define MAA_FRAMEWORK_API MAA_DLL_IMPORT
37
#endif
// MAA_FRAMEWORK_EXPORTS
38
39
#ifdef MAA_CONTROL_UNIT_EXPORTS
40
#define MAA_CONTROL_UNIT_API MAA_DLL_EXPORT
41
#else
42
#define MAA_CONTROL_UNIT_API MAA_DLL_IMPORT
43
#endif
44
45
#ifdef MAA_UTILS_EXPORTS
46
#define MAA_UTILS_API MAA_DLL_EXPORT
47
#else
48
#define MAA_UTILS_API MAA_DLL_IMPORT
49
#endif
50
51
#ifdef MAA_TOOLKIT_EXPORTS
52
#define MAA_TOOLKIT_API MAA_DLL_EXPORT
53
#else
54
#define MAA_TOOLKIT_API MAA_DLL_IMPORT
55
#endif
include
MaaFramework
MaaPort.h
Generated on Fri Nov 8 2024 for Maa Framework by
1.9.8