Add remaining datatype constaints to libsqlite3-sys

This commit is contained in:
John Gallagher 2015-05-04 21:44:05 -04:00
parent 74496cd781
commit 84fc82f48c
3 changed files with 7 additions and 3 deletions

View File

@ -25,4 +25,4 @@ tempdir = "~0.3.4"
[dependencies.libsqlite3-sys]
path = "libsqlite3-sys"
version = "0.0.13"
version = "0.1.0"

View File

@ -1,6 +1,6 @@
[package]
name = "libsqlite3-sys"
version = "0.0.13"
version = "0.1.0"
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
repository = "https://github.com/jgallagher/rusqlite"
description = "Native bindings to the libsqlite3 library"

View File

@ -42,7 +42,11 @@ pub const SQLITE_ROW : c_int = 100;
pub const SQLITE_DONE : c_int = 101;
// SQLite datatype constants.
pub const SQLITE_NULL : c_int = 5;
pub const SQLITE_INTEGER : c_int = 1;
pub const SQLITE_FLOAT : c_int = 2;
pub const SQLITE_TEXT : c_int = 3;
pub const SQLITE_BLOB : c_int = 4;
pub const SQLITE_NULL : c_int = 5;
pub type SqliteDestructor = extern "C" fn(*mut c_void);