Use intptr_t in C when talking about a pointer.
authorMatt Corallo <git@bluematt.me>
Mon, 17 Jan 2022 02:50:23 +0000 (02:50 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 17 Jan 2022 04:34:52 +0000 (04:34 +0000)
This fixes a bug in TS where we'd return an int64_t when we intended
to return a pointer, confusing JavaScript as to why it has a bigint
instead of a number.

This may make it harder to support 32-bit Java platforms in the
future if we have a reason to do so, but that seems unlikely and
its possible we can simply redefine the type.


No differences found