RenderScript pRS = RenderScript.create(mCtx);
ScriptC_struct s = new ScriptC_struct(pRS);
pRS.setMessageHandler(mRsMessage);
ScriptField_Point2 p = new ScriptField_Point2(pRS, 1);
ScriptField_Point2.Item i = new ScriptField_Point2.Item();
int val = 100;
i.x = val;
i.y = val;
p.set(i, 0, true);
s.bind_point2(p);
s.invoke_struct_test(val);
pRS.finish();
waitForMessage();
val = 200;
p.set_x(0, val, true);
p.set_y(0, val, true);
s.invoke_struct_test(val);
pRS.finish();
waitForMessage();
pRS.destroy();