From 405b65a95c20bfe746bb307bbe722b192f729758 Mon Sep 17 00:00:00 2001 From: "Mahlon E. Smith" Date: Wed, 20 Aug 2025 22:24:39 -0700 Subject: [PATCH] Wrap kuzu 0.11.2. --- README.md | 2 +- src/kuzu.nim | 4 ++-- src/kuzu/{0.11.1.nim => 0.11.2.nim} | 8 ++++++++ src/kuzu/constants.nim | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) rename src/kuzu/{0.11.1.nim => 0.11.2.nim} (99%) diff --git a/README.md b/README.md index d83d10e..9c98520 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ For more information about Kuzu itself, see its $ nimble install kuzu -The current version of this library is built for Kuzu v0.11.1. +The current version of this library is built for Kuzu v0.11.2. ## Usage diff --git a/src/kuzu.nim b/src/kuzu.nim index ce29ff3..85b2278 100644 --- a/src/kuzu.nim +++ b/src/kuzu.nim @@ -7,10 +7,10 @@ when defined( futharkWrap ): import futhark, os importc: - outputPath currentSourcePath.parentDir / "kuzu" / "0.11.1.nim" + outputPath currentSourcePath.parentDir / "kuzu" / "0.11.2.nim" "kuzu.h" else: - include "kuzu/0.11.1.nim" + include "kuzu/0.11.2.nim" import std/files, diff --git a/src/kuzu/0.11.1.nim b/src/kuzu/0.11.2.nim similarity index 99% rename from src/kuzu/0.11.1.nim rename to src/kuzu/0.11.2.nim index f118c8f..aa5444b 100644 --- a/src/kuzu/0.11.1.nim +++ b/src/kuzu/0.11.2.nim @@ -1928,6 +1928,14 @@ else: static : hint("Declaration of " & "kuzu_node_val_to_string" & " already exists, not redeclaring") +when not declared(kuzu_rel_val_get_id_val): + proc kuzu_rel_val_get_id_val*(rel_val: ptr kuzu_value_570425816; + out_value: ptr kuzu_value_570425816): kuzu_state_570425864 {. + cdecl, importc: "kuzu_rel_val_get_id_val".} +else: + static : + hint("Declaration of " & "kuzu_rel_val_get_id_val" & + " already exists, not redeclaring") when not declared(kuzu_rel_val_get_src_id_val): proc kuzu_rel_val_get_src_id_val*(rel_val: ptr kuzu_value_570425816; out_value: ptr kuzu_value_570425816): kuzu_state_570425864 {. diff --git a/src/kuzu/constants.nim b/src/kuzu/constants.nim index a0987fd..a342aa5 100644 --- a/src/kuzu/constants.nim +++ b/src/kuzu/constants.nim @@ -1,7 +1,7 @@ # vim: set et sta sw=4 ts=4 : const KUZU_VERSION* = "0.6.1" -const KUZU_EXPECTED_LIBVERSION* = "0.11.1" +const KUZU_EXPECTED_LIBVERSION* = "0.11.2" const BLOB_MAXSIZE = 4096 let KUZU_DEFAULT_CONFIG* = kuzu_default_system_config()