projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb67b85
)
elementary: add way to exit symetric to EFL_MAIN.
author
Cedric BAIL
<cedric@osg.samsung.com>
Wed, 11 Oct 2017 21:15:36 +0000
(14:15 -0700)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Wed, 11 Oct 2017 21:21:12 +0000
(14:21 -0700)
src/lib/elementary/elm_general.h
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_general.h
b/src/lib/elementary/elm_general.h
index
35701cf
..
8376c9f
100644
(file)
--- 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 */