summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-19 15:14:12 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-19 22:00:35 +0200
commite0ce78e170caa267fef7206b56e009688e9d1565 (patch)
tree1f580d8e46f582bd46dc7fb0f490ccb9c572180d
parent4a88f35e83377a1fcc820134c6255cab37a85eea (diff)
eo-files: convert all Eina.Strbuf & Eina.Binbuf
these structs should not be used, but rather the builtin types that exist for it.
-rw-r--r--src/lib/ecore/efl_io_copier.eo4
-rw-r--r--src/lib/efl/interfaces/efl_io_buffer.eo2
-rw-r--r--src/lib/eio/efl_io_manager.eo4
-rw-r--r--src/lib/eo/eina_types.eot3
4 files changed, 5 insertions, 8 deletions
diff --git a/src/lib/ecore/efl_io_copier.eo b/src/lib/ecore/efl_io_copier.eo
index e172a0c41d..291bdbc0ef 100644
--- a/src/lib/ecore/efl_io_copier.eo
+++ b/src/lib/ecore/efl_io_copier.eo
@@ -148,7 +148,7 @@ class @beta Efl.Io.Copier extends Efl.Loop_Consumer implements Efl.Io.Closer {
148 destination then the "done" event is emitted. 148 destination then the "done" event is emitted.
149 149
150 If the destination is not set (ie: $NULL) then data is kept 150 If the destination is not set (ie: $NULL) then data is kept
151 in a internal @Eina.Binbuf, which can be stolen with 151 in a internal binbuf, which can be stolen with
152 @.binbuf_steal once "data" or "line" events are 152 @.binbuf_steal once "data" or "line" events are
153 emitted. It exists as a useful shortcut to easily drain 153 emitted. It exists as a useful shortcut to easily drain
154 readers and store all data in memory with no need to use an 154 readers and store all data in memory with no need to use an
@@ -313,7 +313,7 @@ class @beta Efl.Io.Copier extends Efl.Loop_Consumer implements Efl.Io.Closer {
313 which case you should wait for "done", "data" or "line" 313 which case you should wait for "done", "data" or "line"
314 events and then call it to retrieve and own the data. 314 events and then call it to retrieve and own the data.
315 ]] 315 ]]
316 return: ptr(Eina.Binbuf) @move @no_unused; [[Binbuf]] 316 return: binbuf @move @no_unused; [[Binbuf]]
317 } 317 }
318 318
319 @property pending_size { 319 @property pending_size {
diff --git a/src/lib/efl/interfaces/efl_io_buffer.eo b/src/lib/efl/interfaces/efl_io_buffer.eo
index 518a799a3a..58e0c7ab22 100644
--- a/src/lib/efl/interfaces/efl_io_buffer.eo
+++ b/src/lib/efl/interfaces/efl_io_buffer.eo
@@ -133,7 +133,7 @@ class @beta Efl.Io.Buffer extends Efl.Object
133 On failure, for example a read-only backing store was 133 On failure, for example a read-only backing store was
134 adopted with @.adopt_readonly, $NULL is returned. 134 adopted with @.adopt_readonly, $NULL is returned.
135 ]] 135 ]]
136 return: ptr(Eina.Binbuf) @move @no_unused; [[Binbuf]] 136 return: binbuf @move @no_unused; [[Binbuf]]
137 } 137 }
138 } 138 }
139 139
diff --git a/src/lib/eio/efl_io_manager.eo b/src/lib/eio/efl_io_manager.eo
index be58b047c0..6d147d95b4 100644
--- a/src/lib/eio/efl_io_manager.eo
+++ b/src/lib/eio/efl_io_manager.eo
@@ -80,13 +80,13 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer
80 [[Retrieves or sets information of a given extended attribute.]] 80 [[Retrieves or sets information of a given extended attribute.]]
81 set { 81 set {
82 values { 82 values {
83 data: ptr(Eina.Binbuf); [[Data to set as information]] 83 data: binbuf; [[Data to set as information]]
84 flags: Eina.Xattr.Flags; [[Extended attributes flags]] 84 flags: Eina.Xattr.Flags; [[Extended attributes flags]]
85 } 85 }
86 return: future<uint64> @move; [[Future for asynchronous set operation]] 86 return: future<uint64> @move; [[Future for asynchronous set operation]]
87 } 87 }
88 get { 88 get {
89 return: future<Eina.Binbuf> @move; [[Information]] 89 return: future<binbuf> @move; [[Information]]
90 } 90 }
91 keys { 91 keys {
92 path: string; [[File path]] 92 path: string; [[File path]]
diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot
index 000a2567d9..cbb0981dc7 100644
--- a/src/lib/eo/eina_types.eot
+++ b/src/lib/eo/eina_types.eot
@@ -128,9 +128,6 @@ type @extern Eina.Error: int; [[Eina error type
128 @since 1.22 128 @since 1.22
129]] 129]]
130 130
131struct @extern @beta @free(eina_binbuf_free) Eina.Binbuf; [[Eina binbuf data structure]]
132struct @extern @beta @free(eina_strbuf_free) Eina.Strbuf; [[Eina strbuf data structure]]
133
134struct @extern @beta Eina.Slice { 131struct @extern @beta Eina.Slice {
135 [[A linear, read-only, memory segment]] 132 [[A linear, read-only, memory segment]]
136 len: size; [[Length of the memory segment]] 133 len: size; [[Length of the memory segment]]