summaryrefslogtreecommitdiff
path: root/tools/versioner/tests/preprocessor_extern_cpp/expected/foo.h
blob: 9b2d122c902afb8df3a7b4e5558a012db7cd0b7a (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
#define __RENAME(x) asm(#x)

#if defined(__cplusplus)

#if __ANDROID_API__ >= 24
extern "C++" const char* strchrnul(const char*, int) __RENAME(strchrnul) __INTRODUCED_IN(24);
#endif /* __ANDROID_API__ >= 24 */

#endif

#if defined(__cplusplus)
extern "C" int foo();
#endif

#if defined(__cplusplus)
extern "C" {
#endif


#if __ANDROID_API__ >= 24
char* strchrnul(char*, int) __INTRODUCED_IN(24);
#endif /* __ANDROID_API__ >= 24 */


#if defined(__cplusplus)
}
#endif