Pointer<Void> intToNativeVoid(int number) { final ptr = calloc.allocate<Int32>(sizeOf<Int32>()); ptr.value = number; return ptr.cast(); }