Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loader fails on Android #4

Open
mathstuf opened this issue May 17, 2014 · 1 comment
Open

Loader fails on Android #4

mathstuf opened this issue May 17, 2014 · 1 comment

Comments

@mathstuf
Copy link
Contributor

On Android, libraries are usually loaded by the top-level Java code, so just loading symbols is required. Would it be possible to allow loadSymbols to be called directly? Maybe having SharedLibrary.load(string[]) handle an empty list as "implicitly loaded" would be better?

@mdparker
Copy link
Member

I would add an Android-specific implementation to sharedlib.d. The functions there are intended to be the interface glue, so as long as they continue to work with loader.d, it doesn't matter what they do, so it could ignore library handles or what ever it looks like on Android. I don't know what would be needed beyond that, though, as I have zero knowledge of Android APIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants