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

BridJ: avoid "WARNING: Struct * has * struct fields implemented as Java fields, which won't give the best performance and might require counter-intuitive calls to BridJ.readFromNative / .writeToNative" #190

Closed
AndreiSochirca opened this issue Oct 4, 2011 · 2 comments
Labels

Comments

@AndreiSochirca
Copy link

Hi Olivier,

I would like to avoid the log below:

04.10.2011 21:16:50 org.bridj.BridJ log
WARNING: Struct RECT has 4 struct fields implemented as Java fields, which won't give the best performance and might require counter-intuitive calls to BridJ.readFromNative / .writeToNative. Please consider using JNAerator to generate your struct instead.

Is it possible to add setter for BridJ.minLogLevel ?

Regards, Andrei.

@ochafik
Copy link
Member

ochafik commented Oct 13, 2011

Hi Andrei,

Thanks for your request !
The new snapshot with BridJ.setMinLogLevel(Level) is being deployed...

Cheers

@ochafik ochafik closed this as completed Oct 13, 2011
@AndreiSochirca
Copy link
Author

Hi Olivier,

Thank you very much!

Regards, Andrei.

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

No branches or pull requests

2 participants