JNIEXPORT jstring JNICALL Java_org_zeromq_zebra_XrapMsg__1_1parametersString (JNIEnv *env, jclass c, jlong self, jstring key, jstring default_value) { char *key_ = (char *) (*env)->GetStringUTFChars (env, key, NULL); char *default_value_ = (char *) (*env)->GetStringUTFChars (env, default_value, NULL); char *parameters_string_ = (char *) xrap_msg_parameters_string ((xrap_msg_t *) (intptr_t) self, key_, default_value_); jstring return_string_ = (*env)->NewStringUTF (env, parameters_string_); (*env)->ReleaseStringUTFChars (env, key, key_); (*env)->ReleaseStringUTFChars (env, default_value, default_value_); return return_string_; }
/// // Get/set the parameters field const QString QXrapMsg::parametersString (const QString &key, const QString &defaultValue) { const QString rv = QString (xrap_msg_parameters_string (self, key.toUtf8().data(), defaultValue.toUtf8().data())); return rv; }