elementary: add way to exit symetric to EFL_MAIN.

This commit is contained in:
Cedric BAIL 2017-10-11 14:15:36 -07:00
parent bb67b8580b
commit 1ff6cbde54
1 changed files with 2 additions and 0 deletions

View 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 */