e_main: move the hook structure to internal c file 92/325692/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 12 Jun 2025 06:39:24 +0000 (15:39 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 13 Jun 2025 06:34:31 +0000 (15:34 +0900)
Change-Id: I61b17196e7a774195304a08bc507e2efb2842feb

src/bin/e_main.c
src/include/e_main.h

index f14d7bba32c2a8f7589d034f3f34d90d6742e8cd..e801c0ccdee63f855e1379d3c30372fdb02794c7 100644 (file)
 static double t0, t1, t2;
 #endif
 
+struct _E_Main_Hook
+{
+   EINA_INLIST;
+   E_Main_Hook_Point hookpoint;
+   E_Main_Hook_Cb    func;
+   void             *data;
+   unsigned char     delete_me : 1;
+};
 /*
  * i need to make more use of these when i'm baffled as to when something is
  * up. other hooks:
index 1c9bc6c38912155aaf34561d561d56a33cdeab33..cee0cf388329a34822e402e426898c47014dfe63 100644 (file)
@@ -21,15 +21,6 @@ typedef enum _E_Main_Hook_Point
 
 typedef void (*E_Main_Hook_Cb)(void *data);
 
-struct _E_Main_Hook
-{
-   EINA_INLIST;
-   E_Main_Hook_Point hookpoint;
-   E_Main_Hook_Cb    func;
-   void             *data;
-   unsigned char     delete_me : 1;
-};
-
 E_API E_Main_Hook *e_main_hook_add(E_Main_Hook_Point hookpoint, E_Main_Hook_Cb func, const void *data);
 E_API void         e_main_hook_del(E_Main_Hook *ph);