1 2 3 4 5 6 7 8 9
#include "shared.rsh" int i; rs_allocation ai; void instance_test() { // Set our allocation based on the global input value. rsSetElementAt_int(ai, i, 0); }