window_handle() should be a pointer instead of a double (to emulate GMS behavior) [u524]

Reporter: time-killer-games  |  Status: open  |  Last Modified: July 16, 2017, 01:30:57 AM
Prior to GMStudio, window_handle() returned a double. But ever since GMStudio was released, it now returns a pointer. It works the same in GMStudio 1 and 2. Basically, if you have a DLL that uses window_handle() for one of its arguments the type used is ty_string. Therefore, ty_string can be used for either a "char *" type OR an "HWND" type on Windows, or the "Window" type on Linux. I'm not sure what the Mac equivalent is for HWND/Window but anyway you get the point.
Please sign in to post comments, or you can view this issue on GitHub.