ecore-wl2: Move ecore_wl2_buffer_destroy function to be internal
authorChristopher Michael <cp.michael@samsung.com>
Tue, 5 Nov 2019 14:15:08 +0000 (09:15 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:42 +0000 (11:20 +0900)
As this function is only used in 1 place and will likely never be used
outside of the modular dmabuf engine, we can move it to be internal
only.

ref T8013

src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_wl2/ecore_wl2_internal.h

index 4e93e50..57ae561 100644 (file)
@@ -2378,7 +2378,6 @@ EAPI void ecore_wl2_window_update_begin(Ecore_Wl2_Window *window);
 
 /* TODO: doxygen if we are keeping any of the below functions public */
 
-EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b);
 EAPI Eina_Bool ecore_wl2_buffer_busy_get(Ecore_Wl2_Buffer *buffer);
 EAPI void ecore_wl2_buffer_busy_set(Ecore_Wl2_Buffer *buffer);
 EAPI int ecore_wl2_buffer_age_get(Ecore_Wl2_Buffer *buffer);
index 3c24818..08b3fd6 100644 (file)
@@ -40,6 +40,7 @@ EAPI void ecore_wl2_buffer_unmap(Ecore_Wl2_Buffer *buf);
 EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf);
 EAPI void ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b);
 EAPI void ecore_wl2_buffer_unlock(Ecore_Wl2_Buffer *b);
+EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b);
 
 # undef EAPI
 # define EAPI