title: Documentation for Androids Renderscript advanced rsForEach call
body: <p>I've a question about how Androids Renderscript rsForEach function with the rs_script_call_t* argument works. In the examples only the other (simple) rsForEach function is used, so that doesn't help me. I'd like to change the xStart and xEnd of my array and experiment with the different RS_FOR_EACH_STRATEGYs. I understand that I've to construct a rs_script_call_t struct and set the fields to the proper values. However, any attempt to use this rsForEach call result in a SIGSEGV and a coredump.</p>
  
  <p>In the rs_script_call struct (in rs_math.rsh):</p>
  
  <ul>
  <li>What are the xStart, xEnd, yStart, yEnd, zStart, zEnd values referring to? Indices or pointers?</li>
  <li>What are the arrayStart and arrayEnd values referring to? Indices or pointers?</li>
  <li>What are the default values of these?</li>
  </ul>
  
  <p>Is there any more documentation (or examples) that explain how to properly use the rsForEach function with the rs_script_call_t* argument?</p>