diff options
Diffstat (limited to 'tools/versioner/tests/preprocessor_extern_cpp/expected/foo.h')
-rw-r--r-- | tools/versioner/tests/preprocessor_extern_cpp/expected/foo.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/versioner/tests/preprocessor_extern_cpp/expected/foo.h b/tools/versioner/tests/preprocessor_extern_cpp/expected/foo.h new file mode 100644 index 000000000..9b2d122c9 --- /dev/null +++ b/tools/versioner/tests/preprocessor_extern_cpp/expected/foo.h @@ -0,0 +1,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 |