1 // -target-api 22 2 #pragma version(1) 3 #pragma rs java_package_name(foo) 4 5 char out; 6 rs_allocation al; 7 8 void foo(char in) { 9 out = rsClamp(in, (char) 1, (char) 4); 10 al = rsGetAllocation((void*) 33); 11 } 12