efl/src/tests
Marcel Hollerbach a931e41823 efl: make all _class_get() functions const
please note, not the return type, but the function.
When appending __attribute__((const)) to a function, the compiler is
told that its enough to call this function once in a function.

This is quite often happening when we are efl_data_scope_get and
efl_super in a function that is different from a implemented function.

The compiler now starts to remove the calls that aggressivly that we
need to ensure that these calls are not removed, which means, the static
function calls, and the eo init are now checking the return value of
these functions, to ensure that they are called.

Please note that you now have to be carefull when your app calls
eo_shutdown, if it does so, you *must* call it at the end of a function,
or never call class_get after that anymore.

Overall this improves elm test runs 0.1s which is fair i guess, the main
thing that is faster is textrendering, where is also the point where
this is the most beneficial.

Please note, this replaces 42 occurences of double _class_get() ... THAT
is a sign!

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Daniel Kolesa <daniel@octaforge.org>
Differential Revision: https://phab.enlightenment.org/D12057
2020-07-20 11:27:53 +02:00
..
ecore tests: resolve float comparison warnings 2020-05-09 09:25:14 +01:00
ecore_audio_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
ecore_con tests: ecore_con another cert update to extend the time its valid to 100 years 2020-05-11 17:05:44 +02:00
ecore_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
ecore_wl2 efl - build again - test suite break in using undefined ERR macro 2020-06-10 19:30:14 +01:00
ector cmake: remove! 2018-12-20 20:07:26 +01:00
edje tests: edje: check result of evas_engine_info_set() 2020-06-15 15:04:22 +02:00
edje_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
eet tests: resolve float comparison warnings 2020-05-09 09:25:14 +01:00
eet_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
eeze cmake: remove! 2018-12-20 20:07:26 +01:00
efl tests/efl: use alloca for composite model test future to avoid leak 2020-04-15 19:26:39 +02:00
efl_js bindings-cxx: fix missing @since tags at stable c#/cpp tests 2020-02-05 17:15:33 +01:00
efl_mono Fix typos 2020-06-25 09:03:05 +02:00
efreet Merge efreet_mime efreet_trash into efreet 2020-05-26 10:15:30 +02:00
eina windows: Fix path for file sanitization 2020-07-06 10:52:54 +02:00
eina_cxx bindings-cxx: fix missing @since tags at stable c#/cpp tests 2020-02-05 17:15:33 +01:00
eio tests: eio: make sure we check return value 2020-06-17 13:37:26 +02:00
eldbus tests/eldbus: add va_end for va_args usage in message test 2019-10-18 13:28:48 -04:00
eldbus_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
elementary tests: elm: check return of efl_config_bool_set 2020-06-11 16:31:01 +02:00
elementary_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
elput here comes meson 2018-10-02 17:22:50 +02:00
elua bindings: rename luajit -> lua 2020-05-29 17:06:22 +02:00
emile emile_test_base64: Fix memory leak 2019-05-02 13:48:22 +02:00
emotion meson: correctly use the correct dependency 2019-04-05 08:15:39 -04:00
eo efl: make all _class_get() functions const 2020-07-20 11:27:53 +02:00
eo_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
eolian efl: make all _class_get() functions const 2020-07-20 11:27:53 +02:00
eolian_cxx Use __func__ C99 identifier instead of __FUNCTION__ compiler extension 2020-05-07 09:27:07 -04:00
eolian_js bindings-cxx: fix missing @since tags at stable c#/cpp tests 2020-02-05 17:15:33 +01:00
evas evas textblock : update font source when it set using font_source_set 2020-06-22 17:02:05 +09:00
evas_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
evil remove last bits of Evil.h in tests and use evil_private.h instead 2019-06-24 09:01:25 -04:00
.gitignore tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00
efl_check.h efl_check.h: Replace stack allocated array by heap allocated 2020-06-23 17:21:22 +02:00
meson.build here comes meson 2018-10-02 17:22:50 +02:00
timeout.c tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00