1 #if defined(__cplusplus) 2 extern "C" { 3 #endif 4 5 int always_available(); 6 7 int also_always_available() __INTRODUCED_IN(9); 8 9 int needs_guard() __INTRODUCED_IN(13); 10 11 #if __ANDROID_API__ >= 12 12 int needs_guard_2() __INTRODUCED_IN(13); 13 #endif 14 15 #if __ANDROID_API__ >= 13 16 int already_guarded() __INTRODUCED_IN(13); 17 #endif 18 19 #if __ANDROID_API__ > 13 20 int already_guarded_2() __INTRODUCED_IN(13); 21 #endif 22 23 #if defined(__arm__) 24 int specific_arch() __INTRODUCED_IN(14); 25 26 #if __ANDROID_API__ >= 14 27 int specific_arch_already_guarded() __INTRODUCED_IN(14); 28 #endif 29 30 #if __ANDROID_API__ > 14 31 int specific_arch_already_guarded_2() __INTRODUCED_IN(14); 32 #endif 33 #endif 34 35 #if defined(__arm__) || defined(__i386__) 36 int multiple_archs() __INTRODUCED_IN(14); 37 #endif 38 39 // __INTRODUCED_IN_64(21) should be ignored. 40 int multiple_introduced_1() __INTRODUCED_IN_32(24) __INTRODUCED_IN_64(21); 41 42 // This needs different guards for 32 vs 64. 43 int multiple_introduced_2() __INTRODUCED_IN_32(24) __INTRODUCED_IN_64(26); 44 45 // This produces both an LP64 and a not-LP64 check, but it doesn't need to check for all 64-bit 46 // targets separately. 47 int multiple_introduced_3() __INTRODUCED_IN_32(23) __INTRODUCED_IN_64(23); 48 49 int added_to_lp64_late() __INTRODUCED_IN_64(28); 50 51 #if defined(__cplusplus) 52 } 53 #endif 54