This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch eolian/improvements
in repository efl.
View the commit online.
commit d4efa7a48f75171030de6d0519ade1bce146402e
Author: [email protected] <[email protected]>
AuthorDate: Thu Nov 5 23:55:17 2026 -0600
evas: scene top-object getters say they may return null
object_top_at_xy_get and object_top_in_rectangle_get return NULL when
nothing is at that position, as the implementation and callers already
assume. Declare the returns @nullable so typed bindings expose
Entity | null instead of a type the call cannot always honour.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
---
src/lib/evas/canvas/efl_canvas_scene.eo | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib/evas/canvas/efl_canvas_scene.eo b/src/lib/evas/canvas/efl_canvas_scene.eo
index e489bea57c..520abe701e 100644
--- a/src/lib/evas/canvas/efl_canvas_scene.eo
+++ b/src/lib/evas/canvas/efl_canvas_scene.eo
@@ -78,7 +78,7 @@ interface Efl.Canvas.Scene
Warning: This function will only evaluate top-level objects; child
or "sub" objects will be skipped.
]]
- return: Efl.Gfx.Entity @no_unused; [[The canvas object that is over all other objects at the given position.]]
+ return: Efl.Gfx.Entity @nullable @no_unused; [[The canvas object that is over all other objects at the given position, or $null if there is none.]]
params {
@in pos: Eina.Position2D; [[The pixel position.]]
@in include_pass_events_objects: bool; [[
@@ -129,9 +129,9 @@ interface Efl.Canvas.Scene
Warning: This function will only evaluate top-level objects; child
or "sub" objects will be skipped.
]]
- return: Efl.Gfx.Entity @no_unused; [[
+ return: Efl.Gfx.Entity @nullable @no_unused; [[
The object that is over all other objects at the given
- rectangular region.
+ rectangular region, or $null if there is none.
]]
params {
@in rect: Eina.Rect; [[The rectangular region.]]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.