dart-lang / native

Dart packages related to FFI and native assets bundling.
BSD 3-Clause "New" or "Revised" License
148 stars 42 forks source link

[jnigen] Parameter names are lost #1645

Open stuartmorgan opened 3 hours ago

stuartmorgan commented 3 hours ago

Per recommendation in recent discussion, I'm now generating code from flutter build apk output without referencing any source in my config YAML. The result is that a Java method like 'void seekTo(int location)becomesvoid seekTo(int i)`. Parameter names are very useful contextual documentation, so we need a recommended generation config that doesn't lose that information.

HosseinYousefi commented 2 hours ago

Will be solved by https://github.com/dart-lang/native/issues/1079