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 rs_allocation alloc; 14 rs_element elem; 15 rs_type type; 16 rs_script script; 17 rs_sampler sampler; 18 19 int RS_KERNEL root(uint32_t ain) { 20 return 0; 21 } 22 23 void RS_KERNEL in_only(uint32_t ain) { 24 } 25 26 int RS_KERNEL out_only() { 27 return 0; 28 } 29 30 int RS_KERNEL everything(uint32_t ain, uint32_t x, uint32_t y) { 31 return 0; 32 } 33 34