We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class TestTemplate { public: int test(int *a) {} int test(unsigned*a) {} };
JavaCpp will only generate one function
public native int test(IntPointer a); public native int test(IntBuffer a); public native int test(int[] a);
It does not work by specifying the following
infoMap.put(new Info("TestTemplate::test(unsigned *)").javaNames("testUnsigned"));
or
infoMap.put(new Info("TestTemplate::test(unsigned*)").javaNames("testUnsigned"));
How to help JavaCpp generate both functions? Any guide is appreciated.
The text was updated successfully, but these errors were encountered:
Again that should work. Do you have a complete example that I can try here?
Sorry, something went wrong.
@saudet you can use the code snippet directly which is compilable. Let me known if there is anything missing.
* Allow Parser to use Info.javaNames for function names containi…
Parser
Info.javaNames
b4cf59a
…ng parameters as well (issue #492) * Fix `Parser` producing incorrect calls to function templates with non-type parameters (issue #491)
Fixed in commit b4cf59a. Thanks for reporting!
Problem solved. Thanks for your help @saudet !
No branches or pull requests
JavaCpp will only generate one function
It does not work by specifying the following
or
How to help JavaCpp generate both functions?
Any guide is appreciated.
The text was updated successfully, but these errors were encountered: