bytedeco / javacpp

The missing bridge between Java and native C++
Other
4.47k stars 582 forks source link

Add default Info #652

Open HGuillemet opened 1 year ago

HGuillemet commented 1 year ago

See https://github.com/bytedeco/javacpp/pull/649#issuecomment-1426844810

This lines and this lines are not useful anymore with this PR. But you may want to keep them for compatibility.

HGuillemet commented 1 year ago

Do not merge this for the moment. There is an obscure side effect here: when enumerate is true per default on an Info where pointerTypes has been set, valueType here is set to true and we iterate over the (single) valueTypes instead of the pointerTypes.

saudet commented 1 year ago

Right, Info.enumerate() shouldn't be set for "normal" types.