HGuillemet

Results 152 comments of HGuillemet

We can avoid OSGi or framework-specific code in JavaCPP if we use some service loader mechanism: adding a jar providing the service for the framework actually used to the class...

> > We can avoid OSGi or framework-specific code in JavaCPP if we use some service loader mechanism: adding a jar providing the service for the framework actually used to...

You mean a way to create a bare pointer, with recalculated byte-wise position/limit/capacity, from any instance of Pointer ? Would that be called automatically when using a generated method working...

I'll limit my propositions in the future for sure. > Can you think of a scenario where `Pointer.getPointer()` would fail? In your example if the Mat constructor used `limit` or...

> I'm sorry, I didn't mean it that way. I wish we could spend more time being productive, that's all My suggestions were typed a bit to fast I concede....

> Can you think of something else? No, I cannot. > I wouldn't consider any of this inconsistent, it's just how it works. I think you can admit that the...

Let’s be sure that there is an interest in spending resources in such project first, and that the result has a chance to be merged into JavaCPP one day. The...

The reflection trick to modify the value list of an enum is really hacky. It won't surprise me if it failed on Android too (maybe because of `sun.reflect` missing package....

I also have started to modify how enum is handled. Please hold on. No need to make the work twice. Concerning @saudet comment: The `enumerate` info tells the parser to...

Here is [my attempt](https://github.com/HGuillemet/javacpp/commit/59c1dfe2ad882c205e9a1505a2c3dbb24e8c13c9). A new class `EnumValueMap` register the mapping (Long, Class) => Enum and the changes in `Generator` are mostly limited to the replacement of the JNI enum...