Mercurial > dwindows
diff dw.h @ 2532:457c91634881
Added dw_window_compare() to check if two window handles refer to the same object.
Most platforms just compare the pointer or handle, but Android uses IsSameObject().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 11 May 2021 05:00:07 +0000 |
parents | b9923432cb1f |
children | c4d75d30430c |
line wrap: on
line diff
--- a/dw.h Tue May 11 00:51:20 2021 +0000 +++ b/dw.h Tue May 11 05:00:07 2021 +0000 @@ -2122,6 +2122,7 @@ void * API dw_dialog_wait(DWDialog *dialog); void API dw_window_set_data(HWND window, const char *dataname, void *data); void * API dw_window_get_data(HWND window, const char *dataname); +int API dw_window_compare(HWND window1, HWND window2); int API dw_module_load(const char *name, HMOD *handle); int API dw_module_symbol(HMOD handle, const char *name, void**func); int API dw_module_close(HMOD handle);