windows.directx.dinput.constants: simplify uninitialize.
parent
1e64f03870
commit
3e9d80edf1
|
@ -835,7 +835,7 @@ MACRO: <DIDATAFORMAT> ( dwFlags dwDataSize struct rgodf-array -- alien )
|
||||||
[ define-constants ] "windows.directx.dinput.constants" add-startup-hook
|
[ define-constants ] "windows.directx.dinput.constants" add-startup-hook
|
||||||
|
|
||||||
: uninitialize ( variable quot -- )
|
: uninitialize ( variable quot -- )
|
||||||
[ [ get-global ] dip when* ] [ drop global delete-at ] 2bi ; inline
|
'[ _ when* f ] change-global ; inline
|
||||||
|
|
||||||
: free-dinput-constants ( -- )
|
: free-dinput-constants ( -- )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue