[comp.sys.mac.programmer] GetNewCWindow prototype wierdness...

arwall@mit-amt (Anders Wallgren) (05/29/89)

Why is it that on page 207 of IM volume V, GetNewCWindow is
defined as:

FUNCTION GetNewCWindow (windowID: INTEGER; wStorage: Ptr; behind:
CWindowPtr) : CWindowPtr;

whereas in the MPW 3.0 CIncludes file <Windows.h> it is defined as:

pascal WindowPtr GetNewCWindow(short windowID,Ptr
wStorage,WindowPtr behind)
    = 0xAA46; 


that is, it returns a WindowPtr, not a CWindowPtr??? (it is
declared similarly in the PInterfaces file...)

anders