eo: Add new API efl_cast
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 18 Apr 2017 11:41:11 +0000 (20:41 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 19 Apr 2017 02:15:30 +0000 (11:15 +0900)
commit19b9234f23af78daf73784bd37d3458e94e3459f
tree371ef8cf57847ab29d20b68f2bfc7dec9be6fd42
parent85636658e00de58db1a3c5f8b03e495a5ad1bda8
eo: Add new API efl_cast

This is similar to efl_super but the specified class is the one
we want to call the function on. This is similar to dynamic_cast<>
in C++.

Note: both efl_super() and efl_cast() need documentation!

This is an experimental feature.

Fixes T5311

@feature

Maniphest Tasks: T5311

Differential Revision: https://phab.enlightenment.org/D4797
src/lib/eo/Eo.h
src/lib/eo/eo.c
src/tests/eo/suite/eo_test_general.c