From: SooChan Lim Date: Thu, 12 Jun 2025 06:39:24 +0000 (+0900) Subject: e_main: move the hook structure to internal c file X-Git-Tag: accepted/tizen/unified/20250614.044607~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9b144f436ff1bbf70d71f44a9afb95705c0e270;p=platform%2Fupstream%2Fenlightenment.git e_main: move the hook structure to internal c file Change-Id: I61b17196e7a774195304a08bc507e2efb2842feb --- diff --git a/src/bin/e_main.c b/src/bin/e_main.c index f14d7bba32..e801c0ccde 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -53,6 +53,14 @@ 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: diff --git a/src/include/e_main.h b/src/include/e_main.h index 1c9bc6c389..cee0cf3883 100644 --- a/src/include/e_main.h +++ b/src/include/e_main.h @@ -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);