destination then the "done" event is emitted.
If the destination is not set (ie: $NULL) then data is kept
- in a internal @Eina.Binbuf, which can be stolen with
+ in a internal binbuf, which can be stolen with
@.binbuf_steal once "data" or "line" events are
emitted. It exists as a useful shortcut to easily drain
readers and store all data in memory with no need to use an
which case you should wait for "done", "data" or "line"
events and then call it to retrieve and own the data.
]]
- return: ptr(Eina.Binbuf) @move @no_unused; [[Binbuf]]
+ return: binbuf @move @no_unused; [[Binbuf]]
}
@property pending_size {
On failure, for example a read-only backing store was
adopted with @.adopt_readonly, $NULL is returned.
]]
- return: ptr(Eina.Binbuf) @move @no_unused; [[Binbuf]]
+ return: binbuf @move @no_unused; [[Binbuf]]
}
}
[[Retrieves or sets information of a given extended attribute.]]
set {
values {
- data: ptr(Eina.Binbuf); [[Data to set as information]]
+ data: binbuf; [[Data to set as information]]
flags: Eina.Xattr.Flags; [[Extended attributes flags]]
}
return: future<uint64> @move; [[Future for asynchronous set operation]]
}
get {
- return: future<Eina.Binbuf> @move; [[Information]]
+ return: future<binbuf> @move; [[Information]]
}
keys {
path: string; [[File path]]
@since 1.22
]]
-struct @extern @beta @free(eina_binbuf_free) Eina.Binbuf; [[Eina binbuf data structure]]
-struct @extern @beta @free(eina_strbuf_free) Eina.Strbuf; [[Eina strbuf data structure]]
-
struct @extern @beta Eina.Slice {
[[A linear, read-only, memory segment]]
len: size; [[Length of the memory segment]]