Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
Remove relays for win16drv from CallBack table, instead use build to generate them directly in graphics/win16drv/prtdrv.c. If Printer AbortProc is 16bit then allocate thunk and store that as a 32bit proc in DC. Setting of abortprocs now done in the correct place (i.e. not in the driver).
Showing
- graphics/escape.c 27 additions, 5 deletionsgraphics/escape.c
- graphics/psdrv/escape.c 0 additions, 1 deletiongraphics/psdrv/escape.c
- graphics/win16drv/.cvsignore 1 addition, 0 deletionsgraphics/win16drv/.cvsignore
- graphics/win16drv/Makefile.in 2 additions, 0 deletionsgraphics/win16drv/Makefile.in
- graphics/win16drv/init.c 2 additions, 2 deletionsgraphics/win16drv/init.c
- graphics/win16drv/prtdrv.c 79 additions, 47 deletionsgraphics/win16drv/prtdrv.c
- if1632/thunk.c 49 additions, 62 deletionsif1632/thunk.c
- include/callback.h 6 additions, 29 deletionsinclude/callback.h
- include/gdi.h 10 additions, 11 deletionsinclude/gdi.h
- misc/.cvsignore 1 addition, 0 deletionsmisc/.cvsignore
- misc/Makefile.in 2 additions, 0 deletionsmisc/Makefile.in
- misc/printdrv.c 11 additions, 16 deletionsmisc/printdrv.c
- objects/dc.c 6 additions, 4 deletionsobjects/dc.c
Loading
Please register or sign in to comment