From f13a031f8facf5765decb7965b49645e5b287bf0 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Fri, 12 Mar 2010 19:59:21 -0800 Subject: [PATCH] windows.offscreen: generalize the declared effect of with-memory-dc --- basis/windows/offscreen/offscreen.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/windows/offscreen/offscreen.factor b/basis/windows/offscreen/offscreen.factor index e38477c98c..4b4847f964 100644 --- a/basis/windows/offscreen/offscreen.factor +++ b/basis/windows/offscreen/offscreen.factor @@ -46,7 +46,7 @@ IN: windows.offscreen ubyte-components >>component-type t >>upside-down? ; -: with-memory-dc ( quot: ( hDC -- ) -- ) +: with-memory-dc ( ..a quot: ( ..a hDC -- ..b ) -- ..b ) [ [ f CreateCompatibleDC &DeleteDC ] dip call ] with-destructors ; inline :: make-bitmap-image ( dim dc quot -- image ) -- 2.34.1