From 1ff6cbde54fb4e498b722cf4d43978339a7b25bf Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 11 Oct 2017 14:15:36 -0700 Subject: [PATCH] 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 */