cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=1ff6cbde54fb4e498b722cf4d43978339a7b25bf
commit 1ff6cbde54fb4e498b722cf4d43978339a7b25bf Author: Cedric BAIL <[email protected]> Date: Wed Oct 11 14:15:36 2017 -0700 elementary: add way to exit symetric to EFL_MAIN. --- src/lib/elementary/elm_general.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/elementary/elm_general.h b/src/lib/elementary/elm_general.h index 35701cfe47..8376c9fa60 100644 --- a/src/lib/elementary/elm_general.h +++ b/src/lib/elementary/elm_general.h @@ -146,6 +146,8 @@ extern EAPI double _elm_startup_time; #define EFL_MAIN_EX() int main(int argc, char **argv) { int ret__; _EFL_APP_VERSION_SET(); _elm_startup_time = ecore_time_unix_get(); ret__ = efl_quicklaunch_fallback(argc, argv); elm_shutdown(); return ret__; (void) efl_main(NULL, NULL); (void) efl_pause(NULL, NULL); (void) efl_resume(NULL, NULL); (void) efl_terminate(NULL, NULL); return 0; } #endif +#define efl_exit() elm_exit() + #endif /* EFL_BETA_API_SUPPORT */ --
