Sha256: 79051adbd7fb6e47dc1fa5aebeca19e13ea436c0fc9cd14e4256239be1b13c18

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

#ifndef RUBY_DUCKDB_H
#define RUBY_DUCKDB_H

// #define DUCKDB_API_NO_DEPRECATED
#define DUCKDB_NO_EXTENSION_FUNCTIONS // disable extension C-functions

#include "ruby.h"
#include <duckdb.h>

#ifdef HAVE_DUCKDB_APPENDER_COLUMN_COUNT
#define HAVE_DUCKDB_H_GE_V0_10_0 1
#endif

#ifdef HAVE_DUCKDB_FETCH_CHUNK
#define HAVE_DUCKDB_H_GE_V1_0_0 1
#endif

#ifdef HAVE_DUCKDB_RESULT_ERROR_TYPE
#define HAVE_DUCKDB_H_GE_V1_1_0 1
#endif

#include "./error.h"
#include "./database.h"
#include "./connection.h"
#include "./result.h"
#include "./column.h"
#include "./prepared_statement.h"
#include "./extracted_statements.h"
#include "./pending_result.h"
#include "./util.h"
#include "./converter.h"

#include "./blob.h"
#include "./appender.h"
#include "./config.h"

extern VALUE mDuckDB;
extern VALUE cDuckDBDatabase;
extern VALUE cDuckDBConnection;
extern VALUE cDuckDBBlob;
extern VALUE cDuckDBConfig;
extern VALUE eDuckDBError;
extern VALUE mDuckDBConverter;
extern VALUE cDuckDBPreparedStatement;
extern VALUE PositiveInfinity;
extern VALUE NegativeInfinity;

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
duckdb-1.1.0.1 ext/duckdb/ruby-duckdb.h
duckdb-1.1.0.0 ext/duckdb/ruby-duckdb.h