Skip to content

Commit

Permalink
Further ffi_test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pixsperdavid committed Jul 12, 2024
1 parent 941ecbd commit aa239aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ffi_tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
#![allow(unused)]

use ::safer_ffi::prelude::*;
use ::safer_ffi::headers::languages::{
CLanguageConfig,
CSharpLanguageConfig,
PythonLanguageConfig
};

/// Concatenate the two input strings into a new one.
///
Expand Down Expand Up @@ -222,6 +217,11 @@ fn generate_headers ()
-> ::std::io::Result<()>
{
use ::safer_ffi::headers::LanguageConfig::*;
use ::safer_ffi::headers::languages::{
CLanguageConfig,
CSharpLanguageConfig,
PythonLanguageConfig
};
for (language, ext)
in [
(C(CLanguageConfig::default()), "h"),
Expand Down

0 comments on commit aa239aa

Please sign in to comment.