elementary: add way to exit symetric to EFL_MAIN.
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 11 Oct 2017 21:15:36 +0000 (14:15 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 11 Oct 2017 21:21:12 +0000 (14:21 -0700)
src/lib/elementary/elm_general.h

index 35701cf..8376c9f 100644 (file)
@@ -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 */