Skip to content

[Question] How to wrap native function returning string using HighLevelWrapper #46

@Szaq

Description

@Szaq

As in

JNIEXPORT jstring JNICALL
Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env,
                                                  jobject thiz ) {
    return env->NewStringUTF("Hello from JNI !Compiled.");
}

Due to various incarnations of deleted constructor of jni::Object<jni::StringTag> I don't know how to make it compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions