lifecycle: EAPI_MAIN need to be used as it is an application symbol, not a library one.

devs/vitorsousa/csharp
Cedric Bail 5 years ago
parent 6be0a68c19
commit 91934fe8ec
  1. 6
      tutorial/c/lifecycle/src/lifecycle_main.c

@ -44,19 +44,19 @@ _simulate_app_background(void *data, const Efl_Event *ev)
}
/* end helper methods - what follows below is efl event handling that you can use in your apps. */
EAPI void
EAPI_MAIN void
efl_pause(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
printf("Lifecycle: paused\n");
}
EAPI void
EAPI_MAIN void
efl_resume(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
printf("Lifecycle: resumed\n");
}
EAPI void
EAPI_MAIN void
efl_terminate(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
printf("Lifecycle: terminated\n");

Loading…
Cancel
Save