mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 07:30:21 +00:00
Replace Addr68k related macros with NativeAligned inline functions
This commit is contained in:
parent
a9dcff6fd6
commit
903a7f64fc
@ -501,7 +501,7 @@ typedef union mnwevenT
|
||||
/* to a Medley window structure. */
|
||||
/* The result of the calculation is a C pointer. */
|
||||
/***************************************************/
|
||||
#define Cptr(LADDR) Addr68k_from_LADDR(LADDR)
|
||||
#define Cptr(LADDR) NativeAligned4FromLAddr(LADDR)
|
||||
#define WIfFromMw(win) (((MedleyWindow)Cptr(win))->NativeIf)
|
||||
#define ScrnFromMw(win) ((MedleyScreenRec *)Cptr(((MedleyWindow)Cptr(win))->SCREEN))
|
||||
#define DspstreamFromMw(win) ((Stream *)Cptr(((MedleyWindow)Cptr(win))->DSP))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user