Wiki page unified-and-legacy.md changed with summary [Formatting and typos] by Xavi Artigas

This commit is contained in:
Xavi Artigas 2018-08-21 03:29:12 -07:00 committed by apache
parent 1dec9516e9
commit 83c867428a
1 changed files with 6 additions and 6 deletions

View File

@ -1,19 +1,19 @@
# Unified and Legacy APIs together
The process of moving an application from our old stable API to the new Unified EFL may take some time. Enlightenment is probably the largest EFL application so we know how complicated this could be! To ease the transition we are ensuring that the APIs are interchangable.
The process of moving an application from our old stable API to the new Unified EFL may take some time. Enlightenment is probably the largest EFL application so we know how complicated this could be! To ease the transition we are ensuring that the APIs are interchangeable.
## Object Compatibility
Our main approach to ensure compatibility is making sure that our legacy API can work with Unified EFL objects.
That means that an Eo* created with the new Unified API will work with the equivalent APIs from the legacy API.
That means that an `Eo *` created with the new Unified API will work with the equivalent APIs from the legacy API.
For example:
* Efl_Canvas objects can be passed to evas_object_* methods
* Efl_Canvas_Layout objects can be passed to edje_object_* methods
* Efl_Ui objects work with elm_object_* methods
* `Efl_Canvas` objects can be passed to `evas_object_*` methods
* `Efl_Canvas_Layout` objects can be passed to `edje_object_*` methods
* `Efl_Ui` objects work with `elm_object_*` methods
Also the eina and eo namespaces are retained over these versions so you can continue to pass Eina_Bool or Eo* where you previously did.
Also the `eina` and `eo` namespaces are retained over these versions so you can continue to pass `Eina_Bool` or `Eo *` where you previously did.
## Combined Releases