Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Android: Multiple definition of JNI_Onload #13

@hrydgard

Description

@hrydgard

I'm already using a JNI_OnLoad in my app, so since naett defines one, I get a multiple definition error.

So what's needed is some way to pass your jni environment into naett, instead of having it try to grab it itself. Scratch that, I see that naettPlatformInit can already do it. So I only need to get rid of the extra JNI_OnLoad somehow.

Can we have a define maybe? #ifdef USE_EXISTING_JNI_ONLOAD for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions