Пример #1
0
JNIEXPORT jstring JNICALL
Java_org_zeromq_zebra_XrapMsg__1_1location (JNIEnv *env, jclass c, jlong self)
{
    char *location_ = (char *) xrap_msg_location ((xrap_msg_t *) (intptr_t) self);
    jstring return_string_ = (*env)->NewStringUTF (env, location_);
    return return_string_;
}
Пример #2
0
///
//  Get/set the location field
const QString QXrapMsg::location ()
{
    const QString rv = QString (xrap_msg_location (self));
    return rv;
}