Move typedef enum declarations after the enum to make g++ happy.
authorEduardo de Barros Lima <eblima@gmail.com>
Thu, 24 Jan 2013 21:35:06 +0000 (21:35 +0000)
committerEduardo de Barros Lima <eblima@gmail.com>
Thu, 24 Jan 2013 21:35:06 +0000 (21:35 +0000)
commit08b96ebc1c9bdb186687ce730f53a5194dad0e0a
tree8bc7115082f1473daa83df642cadb02c5d27431e
parent8d13c5ce3e241e8fd9d83dd1f01986e3aeb62e1b
Move typedef enum declarations after the enum to make g++ happy.

When compiling a C++ program that includes Ecore_Wayland:

Ecore_Wayland.h:56:14: error: use of enum ‘_Ecore_Wl_Window_Type’ without previous declaration
Ecore_Wayland.h:56:56: error: invalid type in declaration before ‘;’ token
Ecore_Wayland.h:57:14: error: use of enum ‘_Ecore_Wl_Window_Buffer_Type’ without previous declaration
Ecore_Wayland.h:57:70: error: invalid type in declaration before ‘;’ token

This patch fixes ticket #2217.

SVN revision: 83310
src/lib/ecore_wayland/Ecore_Wayland.h