timob / jnigi

Golang Java JNI library
BSD 2-Clause "Simplified" License
166 stars 44 forks source link

Why missing uint64 type support? #57

Closed GrapeBaBa closed 2 years ago

GrapeBaBa commented 2 years ago

We may need pass a Go pointer use uint64 in a method.

timob commented 2 years ago

JNI spec for primitive types: https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/types.html

So i think we have all those types covered.

GrapeBaBa commented 2 years ago

@timob we may need pass uint64 into a java long type, and java call native back to uint64

timob commented 2 years ago

Java long is a signed type.

GrapeBaBa commented 2 years ago

Got it.