summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-06-01 09:49:33 -0700
committerDavid Schleef <ds@schleef.org>2009-06-01 09:49:33 -0700
commit997b1335a0f17354e7791b2e16c1119646b0a0e9 (patch)
tree35ed705706b0bf0c6b18feaa68444844f7eb9270 /examples
parente84df03d27a458a1ffd5d293e81466f2a8fd4f17 (diff)
downloadorc-997b1335a0f17354e7791b2e16c1119646b0a0e9.tar.gz
example: set the program
Diffstat (limited to 'examples')
-rw-r--r--examples/example1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/example1.c b/examples/example1.c
index f4ef1b2..0d21b75 100644
--- a/examples/example1.c
+++ b/examples/example1.c
@@ -62,6 +62,7 @@ add_s16(int16_t *dest, int16_t *src1, int16_t *src2, int n)
}
/* Set the values on the executor structure */
+ orc_executor_set_program (ex, p);
orc_executor_set_n (ex, n);
orc_executor_set_array_str (ex, "s1", src1);
orc_executor_set_array_str (ex, "s2", src2);