1 // -reflect-c++ 2 #pragma version(1) 3 #pragma rs java_package_name(foo) 4 5 //int2 i2; 6 7 int i1 = 5; 8 bool bt = true; 9 bool bf = false; 10 int2 i2 = 2; 11 int3 i3 = {1, 2, 3}; 12 13 int __attribute__((kernel)) root(uint32_t ain) { 14 return 0; 15 } 16 17 void __attribute__((kernel)) in_only(uint32_t ain) { 18 } 19 20 int __attribute__((kernel)) out_only() { 21 return 0; 22 } 23 24 int __attribute__((kernel)) everything(uint32_t ain, uint32_t x, uint32_t y) { 25 return 0; 26 } 27 28