Sha256: a0d8881c0b0d2f72a8a0a88d5f4f9d5c6d0bc4157157441a83ed0d1926ec73b8
Contents?: true
Size: 1.11 KB
Versions: 195
Compression:
Stored size: 1.11 KB
Contents
#ifndef SQLITE3_RUBY #define SQLITE3_RUBY #include <ruby.h> #ifdef UNUSED #elif defined(__GNUC__) # define UNUSED(x) UNUSED_ ## x __attribute__((unused)) #elif defined(__LCLINT__) # define UNUSED(x) /*@unused@*/ x #else # define UNUSED(x) x #endif #include <ruby/encoding.h> #define USASCII_P(_obj) (rb_enc_get_index(_obj) == rb_usascii_encindex()) #define UTF8_P(_obj) (rb_enc_get_index(_obj) == rb_utf8_encindex()) #define UTF16_LE_P(_obj) (rb_enc_get_index(_obj) == rb_enc_find_index("UTF-16LE")) #define UTF16_BE_P(_obj) (rb_enc_get_index(_obj) == rb_enc_find_index("UTF-16BE")) #define SQLITE3_UTF8_STR_NEW2(_obj) (rb_utf8_str_new_cstr(_obj)) #ifdef USING_SQLCIPHER_INC_SUBDIR # include <sqlcipher/sqlite3.h> #else # include <sqlite3.h> #endif #ifndef HAVE_TYPE_SQLITE3_INT64 typedef sqlite_int64 sqlite3_int64; #endif #ifndef HAVE_TYPE_SQLITE3_UINT64 typedef sqlite_uint64 sqlite3_uint64; #endif extern VALUE mSqlite3; extern VALUE cSqlite3Blob; #include <database.h> #include <statement.h> #include <exception.h> #include <backup.h> #include <timespec.h> int bignum_to_int64(VALUE big, sqlite3_int64 *result); #endif
Version data entries
195 entries across 195 versions & 1 rubygems