• Philipp Stephani's avatar
    Nextstep: Use instancetype explicit return type · 84b28ec7
    Philipp Stephani authored
    This removes compiler warnings on macOS and improves type safety.
    
    * nsterm.m (initFrameFromEmacs:):
    (menuDown:):
    (toolbarClicked:):
    (toggleToolbar:):
    (setMiniwindowImage:):
    (initFrame:window:):
    (condemn, reprieve, setPosition:portion:whole:):
    (repeatScroll:):
    * nsmenu.m (initWithTitle:):
    (initWithTitle:frame:):
    (initForView:withIdentifier:):
    (init, initWithContentRect:styleMask:backing:defer:):
    (initFromContents:isQuestion:):
    * nsimage.m (allocInitFromFile:):
    (initFromXBM:width:height:fg:bg:):
    (setXBMColor:):
    (initForXPMWithDepth:width:height:): Use instancetype as return
    type instead of implicit id.
    84b28ec7
nsterm.m 262 KB