Skip to content

Commit

Permalink
free
Browse files Browse the repository at this point in the history
  • Loading branch information
andizk4kx committed Feb 8, 2024
1 parent cc98285 commit 4100e3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions demo/win32/window.exw
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ procedure WinMain()
atom hwnd
atom icon_handle

atom wndclass = allocate(SIZE_OF_WNDCLASS,1)
atom msg = allocate(SIZE_OF_MESSAGE,1)
atom szAppName = allocate_string("HelloWin",1)
atom wndclass = allocate(SIZE_OF_WNDCLASS)
atom msg = allocate(SIZE_OF_MESSAGE)
atom szAppName = allocate_string("HelloWin")

atom id = routine_id("WndProc")
if id = -1 then
Expand Down
4 changes: 2 additions & 2 deletions demo/win32/winwire.exw
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ end function
procedure WinMain()
-- main routine

atom wndclass = allocate(SIZE_OF_WNDCLASS,1)
atom msg = allocate(SIZE_OF_MESSAGE,1)
atom wndclass = allocate(SIZE_OF_WNDCLASS)
atom msg = allocate(SIZE_OF_MESSAGE)
atom szAppName = allocate_string("HelloWin")

integer id = routine_id("WndProc")
Expand Down

0 comments on commit 4100e3e

Please sign in to comment.