mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Add remaining datatype constaints to libsqlite3-sys
This commit is contained in:
parent
74496cd781
commit
84fc82f48c
@ -25,4 +25,4 @@ tempdir = "~0.3.4"
|
||||
|
||||
[dependencies.libsqlite3-sys]
|
||||
path = "libsqlite3-sys"
|
||||
version = "0.0.13"
|
||||
version = "0.1.0"
|
||||
|
@ -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"
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user