1// -target-api 0 2#pragma version(1) 3#pragma rs java_package_name(com.example.foo) 4 5void oldFoo(const int* a, int *b) { 6 *b = *a; 7} 8 9int foo(int a) { 10 return a; 11} 12 13void testStart(rs_allocation in, rs_allocation out) { 14 rsForEach(oldFoo, in, out); 15 rsForEach(foo, in, out); 16} 17 18 19