align clone
methods: coordination task
#1372
Labels
api fix
Correct API
enhancement
Existing things could work better
umbrella
The task which covers multiple other tasks
Describe the release item
after the discussion on eclipse-zenoh/zenoh-c#549 issue the following approach for
clone
implementation was proposedundeclare
operation should not be clonable. E.g.Publisher
should not be clonable, because if one copy is undeclared, another one ceases to work tooclone
fromPublisher
#1371....
zenoh-c and zenoh-pico should pass mutable
z_loaned_xxx_t*
parameter to callback and should providez_take
operation for taking value from such mutable loaned reference. This allows user to either take ownership of passed value or keep it for caller. Now this is achieved by cloningconst z_loaned_xxx_t*
object.This task can be split into 2 parts, it's enough to implement only first one for 1.0.0 release
z_loaned_xxx_t*
parameter to callbacksz_take
operation for taking value from mutable loaned reference (API extension, can be done in 1.1)The text was updated successfully, but these errors were encountered: