forked from enlightenment/efl
ecore_cocoa: improve const-correctness
This commit is contained in:
parent
586c8b4582
commit
d48faf39bf
|
@ -164,7 +164,7 @@ EAPI void ecore_cocoa_window_view_set(Ecore_Cocoa_Window *window,
|
||||||
|
|
||||||
EAPI int ecore_cocoa_titlebar_height_get(void);
|
EAPI int ecore_cocoa_titlebar_height_get(void);
|
||||||
|
|
||||||
EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(Ecore_Cocoa_Window *window);
|
EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window);
|
||||||
|
|
||||||
|
|
||||||
EAPI void ecore_cocoa_window_cursor_set(Ecore_Cocoa_Window *win, Ecore_Cocoa_Cursor c);
|
EAPI void ecore_cocoa_window_cursor_set(Ecore_Cocoa_Window *win, Ecore_Cocoa_Cursor c);
|
||||||
|
|
|
@ -496,7 +496,8 @@ ecore_cocoa_window_view_set(Ecore_Cocoa_Window *window,
|
||||||
[area release];
|
[area release];
|
||||||
}
|
}
|
||||||
|
|
||||||
Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(Ecore_Cocoa_Window *window)
|
EAPI Ecore_Cocoa_Window_Id
|
||||||
|
ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window)
|
||||||
{
|
{
|
||||||
if (!window)
|
if (!window)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue