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

Add support for storing java instances explicitly #1552

Open
saebel1 opened this issue Sep 13, 2023 · 0 comments
Open

Add support for storing java instances explicitly #1552

saebel1 opened this issue Sep 13, 2023 · 0 comments
Labels
enhancement New feature or request java

Comments

@saebel1
Copy link
Contributor

saebel1 commented Sep 13, 2023

Add following methods to NativeBase.java
public static long storeInstance(NativeBase instance)
to store an instance and get identifier to it

public static NativeBase storeInstance(long id)
retrieve instance from given id, might return null if id is unknown

@saebel1 saebel1 added enhancement New feature or request java labels Sep 13, 2023
@saebel1 saebel1 changed the title Add support for storing instances in jni layer explicitly Add support for storing java instances explicitly Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java
Projects
None yet
Development

No branches or pull requests

1 participant