Exemplo n.º 1
0
JNIEXPORT void JNICALL
Java_org_zeromq_zebra_XrapMsg__1_1setLocation (JNIEnv *env, jclass c, jlong self, jstring format)
{
    char *format_ = (char *) (*env)->GetStringUTFChars (env, format, NULL);
    xrap_msg_set_location ((xrap_msg_t *) (intptr_t) self, "%s", format_);
    (*env)->ReleaseStringUTFChars (env, format, format_);
}
Exemplo n.º 2
0
void QXrapMsg::setLocation (const QString &param)
{
    xrap_msg_set_location (self, "%s", param.toUtf8().data());
    
}