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

JNAerator tries to override Object.notify() when mapping struct with member named notify #375

Closed
Zubnix opened this issue Feb 19, 2013 · 1 comment

Comments

@Zubnix
Copy link

Zubnix commented Feb 19, 2013

When I try to generate bindings for a struct with a function pointer member called "notify" for BridJ a Java class is generated with a method: Pointer notify() this conflicts with Object.notify() that returns 'void'. Ideally a '$' should be added to the method name like is done with java keywords

@ochafik
Copy link
Member

ochafik commented Feb 22, 2013

Hi @Zubnix ,

Thanks for your report!
This should be fixed in the latest 0.12-SNAPSHOT.

Cheers

@ochafik ochafik closed this as completed Feb 22, 2013
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

2 participants