Skip to content

Commit df4f17d

Browse files
committed
cbindgen: ignore ffi modules
1 parent ac5df0b commit df4f17d

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

src/bar/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89

src/color/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89

src/error/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89

src/flags/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89

src/foo/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
pub(crate) use imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
pub(crate) mod ffi;
89

src/nameable/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89

src/rstring/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89

src/shared_rstring/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89

0 commit comments

Comments
 (0)