@@ -229,7 +229,7 @@ public static partial class Lmdb
229229 /// <returns>The transaction ID</returns>
230230 [ LibraryImport ( MDB_DLL_NAME ) ]
231231 [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
232- public static partial int mdb_txn_id ( nint txn ) ;
232+ public static partial nuint mdb_txn_id ( nint txn ) ;
233233
234234 /// <summary>
235235 /// Commits all the operations of a transaction into the database.
@@ -388,7 +388,7 @@ public static partial class Lmdb
388388 /// <returns>A result code indicating success or failure</returns>
389389 [ LibraryImport ( MDB_DLL_NAME ) ]
390390 [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
391- public static partial MDBResultCode mdb_cursor_count ( nint cursor , out int countp ) ;
391+ public static partial MDBResultCode mdb_cursor_count ( nint cursor , out nuint countp ) ;
392392
393393 /// <summary>
394394 /// Stores key/data pairs in a database.
@@ -872,7 +872,7 @@ internal static MDBResultCode mdb_env_open(nint env, string path, EnvironmentOpe
872872 /// <param name="txn">A transaction handle</param>
873873 /// <returns>The transaction ID</returns>
874874 [ DllImport ( MDB_DLL_NAME , CallingConvention = CallingConvention . Cdecl ) ]
875- public static extern int mdb_txn_id ( nint txn ) ;
875+ public static extern nuint mdb_txn_id ( nint txn ) ;
876876
877877 /// <summary>
878878 /// Commits all the operations of a transaction into the database.
@@ -1040,7 +1040,7 @@ public static MDBResultCode mdb_env_copy2(nint env, string path, EnvironmentCopy
10401040 /// <param name="countp">Address where the count will be stored</param>
10411041 /// <returns>A result code indicating success or failure</returns>
10421042 [ DllImport ( MDB_DLL_NAME , CallingConvention = CallingConvention . Cdecl ) ]
1043- public static extern MDBResultCode mdb_cursor_count ( nint cursor , out int countp ) ;
1043+ public static extern MDBResultCode mdb_cursor_count ( nint cursor , out nuint countp ) ;
10441044
10451045 /// <summary>
10461046 /// Stores key/data pairs in a database.
0 commit comments