Wrap kuzu 0.11.2.

This commit is contained in:
Mahlon E. Smith 2025-08-20 22:24:39 -07:00
parent 30cf30ab38
commit 405b65a95c
Signed by: mahlon
SSH key fingerprint: SHA256:dP84sRGKZRpOOiPD/+GuOq+SHSxEw9qi5BWLQobaHm0
4 changed files with 12 additions and 4 deletions

View file

@ -39,7 +39,7 @@ For more information about Kuzu itself, see its
$ nimble install kuzu $ 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 ## Usage

View file

@ -7,10 +7,10 @@ when defined( futharkWrap ):
import futhark, os import futhark, os
importc: importc:
outputPath currentSourcePath.parentDir / "kuzu" / "0.11.1.nim" outputPath currentSourcePath.parentDir / "kuzu" / "0.11.2.nim"
"kuzu.h" "kuzu.h"
else: else:
include "kuzu/0.11.1.nim" include "kuzu/0.11.2.nim"
import import
std/files, std/files,

View file

@ -1928,6 +1928,14 @@ else:
static : static :
hint("Declaration of " & "kuzu_node_val_to_string" & hint("Declaration of " & "kuzu_node_val_to_string" &
" already exists, not redeclaring") " 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): when not declared(kuzu_rel_val_get_src_id_val):
proc kuzu_rel_val_get_src_id_val*(rel_val: ptr kuzu_value_570425816; proc kuzu_rel_val_get_src_id_val*(rel_val: ptr kuzu_value_570425816;
out_value: ptr kuzu_value_570425816): kuzu_state_570425864 {. out_value: ptr kuzu_value_570425816): kuzu_state_570425864 {.

View file

@ -1,7 +1,7 @@
# vim: set et sta sw=4 ts=4 : # vim: set et sta sw=4 ts=4 :
const KUZU_VERSION* = "0.6.1" const KUZU_VERSION* = "0.6.1"
const KUZU_EXPECTED_LIBVERSION* = "0.11.1" const KUZU_EXPECTED_LIBVERSION* = "0.11.2"
const BLOB_MAXSIZE = 4096 const BLOB_MAXSIZE = 4096
let KUZU_DEFAULT_CONFIG* = kuzu_default_system_config() let KUZU_DEFAULT_CONFIG* = kuzu_default_system_config()