Yang Ni | 1946749 | 2015-10-27 15:24:41 -0700 | [diff] [blame^] | 1 | // -target-api 0 |
2 | #pragma version(1) | ||||
3 | #pragma rs java_package_name(com.example.foo) | ||||
4 | |||||
5 | int foo(int a) { | ||||
6 | return a; | ||||
7 | } | ||||
8 | |||||
9 | void testStart(rs_allocation in, rs_allocation out) { | ||||
10 | rsForEach(foo, in, out); | ||||
11 | } | ||||
12 | |||||
13 |