duckdb 0.3.2-dev876.0 → 0.3.2-dev901.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/duckdb.hpp CHANGED
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
13
  #define DUCKDB_AMALGAMATION_EXTENDED 1
14
- #define DUCKDB_SOURCE_ID "c97aca746"
15
- #define DUCKDB_VERSION "0.3.2-dev876"
14
+ #define DUCKDB_SOURCE_ID "bd74fdf89"
15
+ #define DUCKDB_VERSION "0.3.2-dev901"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //
@@ -11443,6 +11443,7 @@ ExternC const PfnDliHook __pfnDliFailureHook2 = duckdb_dllimport_delay_hook;
11443
11443
 
11444
11444
 
11445
11445
 
11446
+ // duplicate of duckdb/main/winapi.hpp
11446
11447
  #ifndef DUCKDB_API
11447
11448
  #ifdef _WIN32
11448
11449
  #if defined(DUCKDB_BUILD_LIBRARY) && !defined(DUCKDB_BUILD_LOADABLE_EXTENSION)
@@ -11455,6 +11456,21 @@ ExternC const PfnDliHook __pfnDliFailureHook2 = duckdb_dllimport_delay_hook;
11455
11456
  #endif
11456
11457
  #endif
11457
11458
 
11459
+ // duplicate of duckdb/common/constants.hpp
11460
+ #ifndef DUCKDB_API_0_3_1
11461
+ #define DUCKDB_API_0_3_1 1
11462
+ #endif
11463
+ #ifndef DUCKDB_API_0_3_2
11464
+ #define DUCKDB_API_0_3_2 2
11465
+ #endif
11466
+ #ifndef DUCKDB_API_LATEST
11467
+ #define DUCKDB_API_LATEST DUCKDB_API_0_3_2
11468
+ #endif
11469
+
11470
+ #ifndef DUCKDB_API_VERSION
11471
+ #define DUCKDB_API_VERSION DUCKDB_API_LATEST
11472
+ #endif
11473
+
11458
11474
  #include <stdbool.h>
11459
11475
  #include <stdint.h>
11460
11476
  #include <stdlib.h>
@@ -11564,19 +11580,43 @@ typedef struct {
11564
11580
  } duckdb_blob;
11565
11581
 
11566
11582
  typedef struct {
11583
+ #if DUCKDB_API_VERSION < DUCKDB_API_0_3_2
11567
11584
  void *data;
11568
11585
  bool *nullmask;
11569
11586
  duckdb_type type;
11570
11587
  char *name;
11588
+ #else
11589
+ // deprecated, use duckdb_column_data
11590
+ void *__deprecated_data;
11591
+ // deprecated, use duckdb_nullmask_data
11592
+ bool *__deprecated_nullmask;
11593
+ // deprecated, use duckdb_column_type
11594
+ duckdb_type __deprecated_type;
11595
+ // deprecated, use duckdb_column_name
11596
+ char *__deprecated_name;
11597
+ #endif
11571
11598
  void *internal_data;
11572
11599
  } duckdb_column;
11573
11600
 
11574
11601
  typedef struct {
11602
+ #if DUCKDB_API_VERSION < DUCKDB_API_0_3_2
11575
11603
  idx_t column_count;
11576
11604
  idx_t row_count;
11577
11605
  idx_t rows_changed;
11578
11606
  duckdb_column *columns;
11579
11607
  char *error_message;
11608
+ #else
11609
+ // deprecated, use duckdb_column_count
11610
+ idx_t __deprecated_column_count;
11611
+ // deprecated, use duckdb_row_count
11612
+ idx_t __deprecated_row_count;
11613
+ // deprecated, use duckdb_rows_changed
11614
+ idx_t __deprecated_rows_changed;
11615
+ // deprecated, use duckdb_column_ family of functions
11616
+ duckdb_column *__deprecated_columns;
11617
+ // deprecated, use duckdb_result_error
11618
+ char *__deprecated_error_message;
11619
+ #endif
11580
11620
  void *internal_data;
11581
11621
  } duckdb_result;
11582
11622