forked from enlightenment/www-content
Wiki page eo-inherit.md changed with summary [Bring back the callout] by Xavi Artigas
This commit is contained in:
parent
1ec441d0ed
commit
eb64c43073
|
@ -249,9 +249,8 @@ And likewise for the ``height`` setter.
|
||||||
|
|
||||||
Note how the first parameter to ``efl_data_scope_get()`` is the object for which you want to retrieve the private data, and the second parameter is the *ancestor class*. You can retrieve the private data for any class, as long as it belongs to your hierarchy.
|
Note how the first parameter to ``efl_data_scope_get()`` is the object for which you want to retrieve the private data, and the second parameter is the *ancestor class*. You can retrieve the private data for any class, as long as it belongs to your hierarchy.
|
||||||
|
|
||||||
**NOTE:**
|
> **NOTE:**
|
||||||
|
> For performance reasons, no runtime check is performed to ensure that the requested class actually belongs to your ancestry. If you want to avoid *undefined behavior* use ``efl_data_scope_safe_get()``.
|
||||||
For performance reasons, no runtime check is performed to ensure that the requested class actually belongs to your ancestry. If you want to avoid *undefined behavior* use ``efl_data_scope_safe_get()``.
|
|
||||||
|
|
||||||
Once you have the pointer to the private data of ``Example.Rectangle`` you can write to both ``width`` and ``height`` as you were doing before.
|
Once you have the pointer to the private data of ``Example.Rectangle`` you can write to both ``width`` and ``height`` as you were doing before.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue