Skip to content

Commit

Permalink
Make a cosmetic adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Apr 21, 2024
1 parent 9c2c1b3 commit 7c7eb65
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cargo install bindgen-cli
git clone https://github.com/stainless-steel/sqlite3-src.git --recursive
bindgen --use-core sqlite3-src/source/sqlite3.h \
| sed -E "s/^pub const ([0-9A-Z_]+): u32/pub const \1: ::core::ffi::c_int/" \
> src/bindings.rs
> src/base.rs
```

## Contribution
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/encryption.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use core::ffi::{c_char, c_int, c_void};

use crate::bindings::sqlite3;
use crate::base::sqlite3;

extern "C" {
pub fn sqlite3_key(db: *mut sqlite3, pKey: *const c_void, nKey: c_int) -> c_int;
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#[cfg(feature = "linkage")]
extern crate sqlite3_src;

mod bindings;
mod base;
#[cfg(feature = "encryption")]
mod encryption;

pub use bindings::*;
pub use base::*;
#[cfg(feature = "encryption")]
pub use encryption::*;

0 comments on commit 7c7eb65

Please sign in to comment.