JNIEXPORT jlong JNICALL Java_org_zeromq_czmq_Zhashx__1_1dupV2 (JNIEnv *env, jclass c, jlong self) { jlong dup_v2_ = (jlong) (intptr_t) zhashx_dup_v2 ((zhashx_t *) (intptr_t) self); return dup_v2_; }
/// // Make copy of hash table; if supplied table is null, returns null. // Does not copy items themselves. Rebuilds new table so may be slow on // very large tables. NOTE: only works with item values that are strings // since there's no other way to know how to duplicate the item value. QZhashx * QZhashx::dupV2 () { QZhashx *rv = new QZhashx (zhashx_dup_v2 (self)); return rv; }