efl/src/tests/eolian
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
..
data efl: make all _class_get() functions const 2020-07-20 11:27:53 +02:00
data_aux bindings-cxx: fix missing @since tags at stable c#/cpp tests 2020-02-05 17:15:33 +01:00
eolian_aux.c eolian tests: use parse instead of path_parse 2019-05-03 17:08:34 +02:00
eolian_generated_future.c eo: remove tests for old Efl_Future, but leave infra in place for testing later new Eina_Future.x 2018-05-01 10:39:01 -07:00
eolian_generation.c eolian: move list<> tests to be @beta and preserve enough meaningful that are not @beta. 2020-01-24 21:47:08 -03:00
eolian_parsing.c eolian: add out-param variants of expr eval/value get funcs 2020-05-31 02:14:46 +02:00
eolian_static.c eolian: globally enable eolian_state_check, except for beta classes 2020-04-19 01:53:50 +02:00
eolian_suite.c remove last bits of Evil.h in tests and use evil_private.h instead 2019-06-24 09:01:25 -04:00
eolian_suite.h eolian_aux: add initial eolian_aux APIs 2018-11-29 13:56:52 +01:00
generated_future.eo bindings-cxx: fix missing @since tags at stable c#/cpp tests 2020-02-05 17:15:33 +01:00
meson.build meson: enforce 61s timeout for tests, remove explicit timeouts from build files 2019-05-15 18:49:51 +02:00