Fix windows stack effects
parent
6d9f6f0246
commit
03046508d8
|
@ -146,7 +146,7 @@ M: indirect sib-present?
|
|||
|
||||
M: register sib-present? drop f ;
|
||||
|
||||
GENERIC: r/m
|
||||
GENERIC: r/m ( operand -- n )
|
||||
|
||||
M: indirect r/m
|
||||
dup sib-present?
|
||||
|
|
|
@ -10,7 +10,7 @@ SYMBOL: io-queue
|
|||
TUPLE: io-queue free-list callbacks ;
|
||||
TUPLE: io-callback overlapped quotation stream ;
|
||||
|
||||
: expected-error? ( -- bool )
|
||||
: expected-error? ( obj -- bool )
|
||||
[
|
||||
ERROR_IO_PENDING ERROR_HANDLE_EOF ERROR_SUCCESS WAIT_TIMEOUT
|
||||
997
|
||||
|
|
|
@ -42,7 +42,7 @@ SYMBOL: class-name
|
|||
2nip
|
||||
dup { 0 0 } = [ 2drop ] [ swap window set-gadget-dim ] if ;
|
||||
|
||||
: wm-keydown-codes ( n -- key )
|
||||
: wm-keydown-codes ( -- key )
|
||||
H{
|
||||
{ 8 "BACKSPACE" }
|
||||
{ 9 "TAB" }
|
||||
|
@ -256,7 +256,7 @@ SYMBOL: hWnd
|
|||
[ do-events ui-step ] ui-try event-loop
|
||||
] unless ;
|
||||
|
||||
: register-wndclassex ( classname wndproc -- )
|
||||
: register-wndclassex ( classname wndproc -- class )
|
||||
"WNDCLASSEX" <c-object>
|
||||
"WNDCLASSEX" c-size over set-WNDCLASSEX-cbSize
|
||||
CS_HREDRAW CS_VREDRAW bitor CS_OWNDC bitor over set-WNDCLASSEX-style
|
||||
|
|
Loading…
Reference in New Issue