diff options
author | Søren Sandmann <sandmann@redhat.com> | 2008-09-06 02:45:00 -0400 |
---|---|---|
committer | Søren Sandmann <sandmann@redhat.com> | 2008-09-06 02:45:00 -0400 |
commit | cffbece06410465133b783ca83c926685ffeb686 (patch) | |
tree | 5f59a08c9d71560f0c02f171bdd561c4f7f98b35 /example.c | |
parent | c0711460dadf97843f66d84448358d1db01ac7c9 (diff) |
Add watch and dbw
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #include <stdio.h> -#include "libnul.h" +#include "invoke.h" int main () @@ -11,9 +11,9 @@ main () }; Arg ret; - FunDef *def = fun_def_new (TYPE_INT, 2, arg_types); + FunDef *def = fun_def_new ((Function)printf, TYPE_INT, 2, arg_types); - ret = fun_def_invoke (def, (Function)printf, args); + ret = fun_def_invoke (def, args); printf ("returned: %d\n", ret.v_int); |