From 1ad9b246c074279ca34b8594949990cead36f9cd Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Fri, 29 Mar 2019 09:25:02 +0000 Subject: [PATCH] docs: Add Eina.Value extern to eina_types.eot Eina.Values are built-in eolian types, accessed through any_value and any_value_ptr. However, these types cannot be used in doc references. Adding a placeholder extern struct Eina.Value causes no harm, and will allow referencing the type from EO docs later on. In C#, Eina.Value is defined in the manual binding code so the doc reference resolves to a valid type. Reviewed-by: Marcel Hollerbach Differential Revision: https://phab.enlightenment.org/D8510 --- src/lib/eo/eina_types.eot | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot index a70a6553e9..95d15a4782 100644 --- a/src/lib/eo/eina_types.eot +++ b/src/lib/eo/eina_types.eot @@ -77,6 +77,7 @@ struct @extern Eina.Rw_Slice { mem: void_ptr; [[Pointer to memory segment]] } +struct @extern Eina.Value; [[Eina value placeholder so it can be referenced from docs.]] struct @extern Eina.Value_Type; [[Eina value type]] struct @extern Eina.Stat {