idlize
1export type NodePointer = pointer // todo: move to NativeModule
2
3export type KStringPtr = int | string | null
4export type KStringPtrArray = int | byte[] | null
5export type KUint8ArrayPtr = int | byte[] | null
6export type KInt32ArrayPtr = int | byte[] | null
7export type KFloat32ArrayPtr = int | Float32Array | null
8export type KInt = int
9export type KBoolean = int
10export type KFloat = float
11export type KPointer = long // look once again
12export type pointer = KPointer
13export type KNativePointer = KPointer
14
15
16export const nullptr: pointer = 0