From be0c0822c7508ac03b861faf6433a400fba6418c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 14 Mar 2025 00:22:57 +0800 Subject: [PATCH] val should be nullable --- lmdb/types.ha | 2 +- diff --git a/lmdb/types.ha b/lmdb/types.ha index ec70405d7a7d77eaaab7cc6470a2e8a8e6152dd3..f19f3d153d7dc11093b6407f50ad5a5d4c339abd 100644 --- a/lmdb/types.ha +++ b/lmdb/types.ha @@ -28,7 +28,7 @@ // The same applies to data sizes in databases with the [[DUPSORT]] flag. // Other data items can in theory be from 0 to 0xffffffff bytes long. export type val = struct { mv_size: size, - mv_data: *opaque, + mv_data: nullable *opaque, }; // Unix permissions for creating files, or dummy definition for Windows -- 2.48.1