Changeset View
Changeset View
Standalone View
Standalone View
tests/ECMGenerateExportHeaderTest/library/library.cpp
- This file was added.
1 | #include "library.hpp" | ||||
---|---|---|---|---|---|
2 | | ||||
3 | #if LIBRARY_BUILD_DEPRECATED_SINCE(2, 0) | ||||
4 | void function_deprecatedAt2_0() | ||||
5 | { | ||||
6 | } | ||||
7 | #endif | ||||
8 | | ||||
9 | #if LIBRARY_BUILD_DEPRECATED_SINCE(2, 12) | ||||
10 | void function_deprecatedAt2_12() | ||||
11 | { | ||||
12 | } | ||||
13 | #endif | ||||
14 | | ||||
15 | void function_not_deprecated() | ||||
16 | { | ||||
17 | } | ||||
18 | | ||||
19 | #if LIBRARY_BUILD_DEPRECATED_SINCE(2, 0) | ||||
20 | void Class::method_deprecatedAt2_0() | ||||
21 | { | ||||
22 | } | ||||
23 | #endif | ||||
24 | | ||||
25 | #if LIBRARY_BUILD_DEPRECATED_SINCE(2, 12) | ||||
26 | void Class::method_deprecatedAt2_12() | ||||
27 | { | ||||
28 | } | ||||
29 | #endif | ||||
30 | | ||||
31 | void Class::method_not_deprecated() | ||||
32 | { | ||||
33 | } |