JNIEXPORT void JNICALL Java_org_zeromq_zebra_XrapMsg__1_1setStatusText (JNIEnv *env, jclass c, jlong self, jstring format) { char *format_ = (char *) (*env)->GetStringUTFChars (env, format, NULL); xrap_msg_set_status_text ((xrap_msg_t *) (intptr_t) self, "%s", format_); (*env)->ReleaseStringUTFChars (env, format, format_); }
void QXrapMsg::setStatusText (const QString ¶m) { xrap_msg_set_status_text (self, "%s", param.toUtf8().data()); }