JNIEXPORT jlong JNICALL Java_org_zeromq_czmq_Zframe__1_1from (JNIEnv *env, jclass c, jstring string) { char *string_ = (char *) (*env)->GetStringUTFChars (env, string, NULL); jlong from_ = (jlong) (intptr_t) zframe_from (string_); (*env)->ReleaseStringUTFChars (env, string, string_); return from_; }
/// // Create a frame with a specified string content. QmlZframe *QmlZframeAttached::from (const QString &string) { QmlZframe *retQ_ = new QmlZframe (); retQ_->self = zframe_from (string.toUtf8().data()); return retQ_; };
/// // Create a frame with a specified string content. QZframe * QZframe::from (const QString &string) { QZframe *rv = new QZframe (zframe_from (string.toUtf8().data())); return rv; }
/// // Create a frame with a specified string content. QZframe* QZframe::from (const QString &string, QObject *qObjParent) { return new QZframe (zframe_from (string.toUtf8().data()), qObjParent); }
/// // Create a frame with a specified string content. QmlZframe *QmlZframeAttached::from (const QString &string) { QmlZframe *qmlSelf = new QmlZframe (); qmlSelf->self = zframe_from (string.toUtf8().data()); return qmlSelf; };