7 /* Wrap a function taking a pointer to a function */
8 extern int do_op(int a, int b, int (*op)(int, int));
10 /* Now install a bunch of "ops" as constants */
11 %constant int (*ADD)(int,int) = add;
12 %constant int (*SUB)(int,int) = sub;
13 %constant int (*MUL)(int,int) = mul;
15 extern int (*funcvar)(int,int);