diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-28 13:07:44 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-28 13:07:44 +0000 |
commit | 07c210b656a88488f62e080327ffb9a900a6c9ed (patch) | |
tree | 5ad5eb675142bf2703e6cfd34f7bfeaae5bffb2d /amiga/gui.h | |
parent | 2ce332f1b07af89ce387ca24cc6471f97c80154b (diff) | |
parent | 5baf48859a71060bbe6e81335431fcda6c91a0f8 (diff) | |
download | netsurf-07c210b656a88488f62e080327ffb9a900a6c9ed.tar.gz netsurf-07c210b656a88488f62e080327ffb9a900a6c9ed.tar.bz2 |
Fix hook functions for 68k
Add (partially working) bitmap fonts support
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-x | amiga/gui.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/amiga/gui.h b/amiga/gui.h index 246d75124..adad63d4f 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -28,6 +28,12 @@ #include "amiga/plotters.h" #include "amiga/menu.h" +#ifdef __amigaos4__ +#define HOOKF(ret,func,type,ptr,msgtype) static ret func(struct Hook *hook, type ptr, msgtype msg) +#else +#define HOOKF(ret,func,type,ptr,msgtype) static ASM ret func(REG(a0, struct Hook *hook),REG(a2, type ptr), REG(a1, msgtype msg)) +#endif + enum { OID_MAIN = 0, |