Example #1
0
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_);
}
Example #2
0
void QXrapMsg::setStatusText (const QString &param)
{
    xrap_msg_set_status_text (self, "%s", param.toUtf8().data());
    
}