summaryrefslogtreecommitdiff
path: root/src/lib/eo/eina_types.eot
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-30 19:45:45 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-30 20:12:35 +0200
commit71c83d2005e060daee8df97ad267e1954f12ff83 (patch)
tree51c2aaa8cdda3e2655127424b296b41e70e71936 /src/lib/eo/eina_types.eot
parent835e230f2fefa14cdfae7af84dc5afbc40bca985 (diff)
efl: add code to enforce presence of @since tags
This is not yet enabled because there's too many instances where this is broken. Ref T7704
Diffstat (limited to 'src/lib/eo/eina_types.eot')
-rw-r--r--src/lib/eo/eina_types.eot40
1 files changed, 32 insertions, 8 deletions
diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot
index d936901eea..5c31e5b219 100644
--- a/src/lib/eo/eina_types.eot
+++ b/src/lib/eo/eina_types.eot
@@ -1,6 +1,9 @@
1/* FIXME: Move to Eina when we decide they are handled properly. */ 1/* FIXME: Move to Eina when we decide they are handled properly. */
2struct @extern @free(eina_rectangle_free) Eina.Rect { 2struct @extern @free(eina_rectangle_free) Eina.Rect {
3 [[A rectangle in pixel dimensions.]] 3 [[A rectangle in pixel dimensions.
4
5 @since 1.22
6 ]]
4 x: int; [[X coordinate of the rectangle, from the top-left corner.]] 7 x: int; [[X coordinate of the rectangle, from the top-left corner.]]
5 y: int; [[Y coordinate of the rectangle, from the top-left corner.]] 8 y: int; [[Y coordinate of the rectangle, from the top-left corner.]]
6 w: int; [[Width of the rectangle in pixels.]] 9 w: int; [[Width of the rectangle in pixels.]]
@@ -8,27 +11,42 @@ struct @extern @free(eina_rectangle_free) Eina.Rect {
8} 11}
9 12
10struct @extern Eina.Position2D { 13struct @extern Eina.Position2D {
11 [[A 2D location in pixels.]] 14 [[A 2D location in pixels.
15
16 @since 1.22
17 ]]
12 x: int; [[X position in pixels, from the top-left corner.]] 18 x: int; [[X position in pixels, from the top-left corner.]]
13 y: int; [[Y position in pixels, from the top-left corner.]] 19 y: int; [[Y position in pixels, from the top-left corner.]]
14} 20}
15 21
16struct @extern Eina.Size2D { 22struct @extern Eina.Size2D {
17 [[A 2D size in pixels.]] 23 [[A 2D size in pixels.
24
25 @since 1.22
26 ]]
18 w: int; [[X position in pixels, from the top-left corner.]] 27 w: int; [[X position in pixels, from the top-left corner.]]
19 h: int; [[Y position in pixels, from the top-left corner.]] 28 h: int; [[Y position in pixels, from the top-left corner.]]
20} 29}
21 30
22struct @extern Eina.File; [[Eina file data structure]] 31struct @extern Eina.File; [[Eina file data structure
32
33 @since 1.22
34]]
23 35
24struct @extern Eina.Vector2 { 36struct @extern Eina.Vector2 {
25 [[A simple 2D vector type using floating point values.]] 37 [[A simple 2D vector type using floating point values.
38
39 @since 1.22
40 ]]
26 x: double; [[X coordinate.]] 41 x: double; [[X coordinate.]]
27 y: double; [[Y coordinate.]] 42 y: double; [[Y coordinate.]]
28} 43}
29 44
30struct @extern Eina.Matrix3 { 45struct @extern Eina.Matrix3 {
31 [[Eina 3x3 Matrix]] 46 [[Eina 3x3 Matrix
47
48 @since 1.22
49 ]]
32 xx: double; [[XX matrix value]] 50 xx: double; [[XX matrix value]]
33 xy: double; [[XY matrix value]] 51 xy: double; [[XY matrix value]]
34 xz: double; [[XZ matrix value]] 52 xz: double; [[XZ matrix value]]
@@ -60,7 +78,10 @@ enum @extern @beta Eina.Xattr.Flags {
60 created [[This will only succeed if the extended attribute wasn't previously set]] 78 created [[This will only succeed if the extended attribute wasn't previously set]]
61} 79}
62 80
63type @extern Eina.Error: int; [[Eina error type]] 81type @extern Eina.Error: int; [[Eina error type
82
83 @since 1.22
84]]
64 85
65struct @extern @beta @free(eina_binbuf_free) Eina.Binbuf; [[Eina binbuf data structure]] 86struct @extern @beta @free(eina_binbuf_free) Eina.Binbuf; [[Eina binbuf data structure]]
66struct @extern @beta @free(eina_strbuf_free) Eina.Strbuf; [[Eina strbuf data structure]] 87struct @extern @beta @free(eina_strbuf_free) Eina.Strbuf; [[Eina strbuf data structure]]
@@ -100,7 +121,10 @@ struct @extern @beta Eina.Stat {
100 ctimensec: ulong; [[The nano version of the timestmap when the file was created]] 121 ctimensec: ulong; [[The nano version of the timestmap when the file was created]]
101} 122}
102 123
103struct @extern @free(eina_promise_free) Eina.Promise; [[Eina promise type]] 124struct @extern @free(eina_promise_free) Eina.Promise; [[Eina promise type
125
126 @since 1.22
127]]
104 128
105/* FIXME: This definitely shouldn't be here. */ 129/* FIXME: This definitely shouldn't be here. */
106type @beta Efl.Event_Cb: __undefined_type; [[Efl event callback type]] 130type @beta Efl.Event_Cb: __undefined_type; [[Efl event callback type]]