forked from enlightenment/www-content
Wiki page hello-world-alternate.md changed with summary [] by Gareth Halfacree
This commit is contained in:
parent
693d77e131
commit
1f1821787f
|
@ -62,7 +62,7 @@ Any programs you create with EFL must always terminate by calling ``efl_exit()``
|
||||||
|
|
||||||
The parameter ``efl_exit()`` is the value your program returns to the operating system.
|
The parameter ``efl_exit()`` is the value your program returns to the operating system.
|
||||||
|
|
||||||
## Step Five: Automatic EFL setup and Shutdown ##
|
## Step Five: Automatic EFL Setup and Shutdown ##
|
||||||
|
|
||||||
This final piece of "boilerplate" code should be included at the end of every EFL program. Type the following at the very end of your program as the last line:
|
This final piece of "boilerplate" code should be included at the end of every EFL program. Type the following at the very end of your program as the last line:
|
||||||
|
|
||||||
|
@ -114,6 +114,6 @@ At the end of this tutorial you have learned:
|
||||||
* Header files must be included for any EFL libraries you intend to use. Typically, these are ``Eina.h`` and ``Efl.h``.
|
* Header files must be included for any EFL libraries you intend to use. Typically, these are ``Eina.h`` and ``Efl.h``.
|
||||||
* Your main method should be ``efl_main()``.
|
* Your main method should be ``efl_main()``.
|
||||||
* Your EFL programs should always call ``efl_exit()`` at some stage.
|
* Your EFL programs should always call ``efl_exit()`` at some stage.
|
||||||
* Your EFL programs should include the ``EFL_MAIN()`` macro at the end so EFL can insert its own start-up and shutdown code.
|
* Your EFL programs should include the ``EFL_MAIN()`` macro at the end so EFL can insert its own setup and shutdown code.
|
||||||
|
|
||||||
The next tutorial keeps introducing more basic concepts, and shows how to retrieve the command line parameters passed to your program.
|
The next tutorial keeps introducing more basic concepts, and shows how to retrieve the command line parameters passed to your program.
|
Loading…
Reference in New Issue