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

Cache nx_path on both c++ and java sides #2

Open
Ingvord opened this issue Oct 2, 2015 · 0 comments
Open

Cache nx_path on both c++ and java sides #2

Ingvord opened this issue Oct 2, 2015 · 0 comments

Comments

@Ingvord
Copy link
Contributor

Ingvord commented Oct 2, 2015

Original report by Ingvord (Bitbucket: Ingvord, GitHub: Ingvord).


jni passes only nx_path id

#!java

Map<String,Integer> nxPathMap;

nxFile.write(nxPathMap.get(nxPath), v)
#!cpp

std::map<int, nx_path> nx_path_map;

pniio::write(fld, nx_path_map[id], v)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant