i hope the node casts are correct here.
[AROS-Contrib.git] / arospdf / xpdf / test.c
blob15ffc809595b39f5cf336791407694b65e3a0240
1 #include <proto/muimaster.h>
2 #include <proto/intuition.h>
3 #include <libraries/mui.h>
4 #include <utility/hooks.h>
5 static struct Hook myhook;
7 AROS_UFH3(ULONG, myfunction,
8 AROS_UFHA(struct Hook *, h, A0),
9 AROS_UFHA(Object *, object, A2),
10 AROS_UFHA(APTR, msg, A1))
12 AROS_USERFUNC_INIT
14 return 0;
15 AROS_USERFUNC_EXIT
18 int main(void)
20 myhook.h_Entry = (HOOKFUNC)myfunction;
21 return 1;