]> gitweb.ps.run Git - ziglmdb/commitdiff
rename typeinfo.Pointer
authorpatrick-scho <patrick.schoenberger@posteo.de>
Fri, 11 Apr 2025 10:53:54 +0000 (12:53 +0200)
committerpatrick-scho <patrick.schoenberger@posteo.de>
Fri, 11 Apr 2025 10:53:54 +0000 (12:53 +0200)
src/lmdb.zig

index 637bd26411549496acccd2af0cccf57995c6537b..98df586c5341f22b896624071ea87bc1bc530b10 100644 (file)
@@ -53,7 +53,7 @@ pub const Cursor = struct {
 
     pub fn get(self: Self, k: anytype, comptime V: type, flags: Flags) !?V {
         const k_ti = @typeInfo(@TypeOf(k));
-        const K = k_ti.Pointer.child;
+        const K = k_ti.pointer.child;
 
         var key = lmdb.MDB_val{
             .mv_size = @sizeOf(K),
@@ -90,7 +90,7 @@ pub const Cursor = struct {
 
     pub fn has(self: Self, k: anytype, flags: Flags) !bool {
         const k_ti = @typeInfo(@TypeOf(k));
-        const K = k_ti.Pointer.child;
+        const K = k_ti.pointer.child;
 
         var key = lmdb.MDB_val{
             .mv_size = @sizeOf(K),