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 070f83a34e93083fb9ffa414897647e533813f10
Author: Cedric BAIL <[email protected]>
AuthorDate: Thu Aug 20 18:39:15 2026 -0600

    eo: annotate the two static getters the op-table scan cannot see
    
    @static functions have no entry in the EFL_OBJECT_OP_FUNC tables, so the
    checker's route from an .eo name to its C body does not reach them.
    Reading the reference-returning ones by hand found two that answer null,
    both in classes that are still beta:
    
    Efl.Ui.Theme.default returns NULL when no default theme has been set up
    -- the body is literally `if (theme_default) return ...; return NULL;`.
    Efl.Access.Object.description returns a stringshare field that starts
    null.
    
    Others read are correct unannotated: efl_ui_win.exit_on_all_windows_closed
    returns the address of a static, access_root and
    view_factory_create_with_event fail only on allocation or a
    precondition, and the markup utilities guard a parameter that is itself
    not nullable.
    
    The blind spot is recorded here rather than left for someone to
    rediscover: the checker cannot see @static bodies, so a new @static
    getter that returns null will not be caught.
    
    Co-Authored-By: Claude Opus 5 <[email protected]>
---
 src/lib/elementary/efl_access_object.eo | 3 ++-
 src/lib/elementary/efl_ui_theme.eo      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/efl_access_object.eo b/src/lib/elementary/efl_access_object.eo
index ec9e8d559b..2bf861685d 100644
--- a/src/lib/elementary/efl_access_object.eo
+++ b/src/lib/elementary/efl_access_object.eo
@@ -349,7 +349,8 @@ mixin @beta Efl.Access.Object requires Efl.Object
          set {
          }
          values {
-            description: string; [[Accessible contextual information]]
+            description: string @nullable; [[Accessible contextual information, or $null
+                                            if the object has none.]]
          }
       }
       @property state_set @protected @beta {
diff --git a/src/lib/elementary/efl_ui_theme.eo b/src/lib/elementary/efl_ui_theme.eo
index 9320d0afed..7c8651a99b 100644
--- a/src/lib/elementary/efl_ui_theme.eo
+++ b/src/lib/elementary/efl_ui_theme.eo
@@ -13,7 +13,8 @@ class @beta Efl.Ui.Theme extends Efl.Object
          get {
          }
          values {
-            theme: Efl.Ui.Theme; [[The default theme handle]]
+            theme: Efl.Ui.Theme @nullable; [[The default theme handle, or $null if no
+                                            default theme has been set up.]]
          }
       }
       extension_add {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to