void zhashx_autofree (zhashx_t *self) { assert (self); zhashx_set_destructor (self, (czmq_destructor *) zstr_free); zhashx_set_duplicator (self, (czmq_duplicator *) strdup); }
/// // Set a user-defined duplicator for hash items; by default items are not // copied when the hash is duplicated. void QZhashx::setDuplicator (zhashx_duplicator_fn duplicator) { zhashx_set_duplicator (self, duplicator); }