derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4f63f327b0619f7c059f4b726fbf3199d5d59649

commit 4f63f327b0619f7c059f4b726fbf3199d5d59649
Author: Derek Foreman <[email protected]>
Date:   Thu Nov 30 13:15:15 2017 -0600

    ecore_wl2: Make Ecore_Wl2_Buffer struct private
    
    Nothing needs these members anymore.  If need arises in the future then
    proper getter/setter functions can be added.
---
 src/lib/ecore_wl2/Ecore_Wl2.h         | 19 -------------------
 src/lib/ecore_wl2/ecore_wl2_private.h | 19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index b06398352b..5e60313a8c 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -360,26 +360,7 @@ typedef struct Ecore_Wl2_Event_Aux_Message
    Ecore_Wl2_Display *display;
 } Ecore_Wl2_Event_Aux_Message;
 
-/* THIS WILL BE PRIVATE SHORTLY, DO NOT USE */
-typedef struct _Buffer_Handle Buffer_Handle;
 typedef struct _Ecore_Wl2_Buffer Ecore_Wl2_Buffer;
-struct _Ecore_Wl2_Buffer
-{
-   struct wl_buffer *wl_buffer;
-   int size;
-   int w, h;
-   int age;
-   unsigned long stride;
-   Buffer_Handle *bh;
-   int fd;
-   void *mapping;
-
-   int index;
-   Eina_Bool locked : 1;
-   Eina_Bool busy : 1;
-   Eina_Bool orphaned : 1;
-   Eina_Bool alpha : 1;
-};
 
 typedef enum _Ecore_Wl2_Buffer_Type Ecore_Wl2_Buffer_Type;
 enum _Ecore_Wl2_Buffer_Type
diff --git a/src/lib/ecore_wl2/ecore_wl2_private.h 
b/src/lib/ecore_wl2/ecore_wl2_private.h
index 8b87cffe2c..8e1c2fbe88 100644
--- a/src/lib/ecore_wl2/ecore_wl2_private.h
+++ b/src/lib/ecore_wl2/ecore_wl2_private.h
@@ -523,6 +523,25 @@ typedef struct Ecore_Wl2_Event_Window_WWW_Drag
    Eina_Bool dragging;
 } Ecore_Wl2_Event_Window_WWW_Drag;
 
+typedef struct _Buffer_Handle Buffer_Handle;
+typedef struct _Ecore_Wl2_Buffer
+{
+   struct wl_buffer *wl_buffer;
+   int size;
+   int w, h;
+   int age;
+   unsigned long stride;
+   Buffer_Handle *bh;
+   int fd;
+   void *mapping;
+
+   int index;
+   Eina_Bool locked : 1;
+   Eina_Bool busy : 1;
+   Eina_Bool orphaned : 1;
+   Eina_Bool alpha : 1;
+} Ecore_Wl2_Buffer;
+
 typedef struct _Ecore_Wl2_Surface
 {
    Ecore_Wl2_Window *wl2_win;

-- 


Reply via email to