Added information about the libraries license.
This commit is contained in:
3
src/c.rs
3
src/c.rs
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//! Handle defining the external functions from what ever C library is
|
||||
//! being linked against. These will use the C99 definitions so that
|
||||
//! this library is as up-to-date as it can be.
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//use weave::Error;
|
||||
use binding::CInt;
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use binding::{CFloat, CDouble, CInt};
|
||||
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
/// This defines the size_t type.
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type size_t = usize;
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use binding::{CChar, CInt};
|
||||
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use binding::CVoid;
|
||||
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use binding::{CChar, CInt};
|
||||
|
||||
use crate::stddef::{size_t, wchar_t};
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
use binding::{CInt, CLong};
|
||||
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//!
|
||||
|
||||
// Handle using the core or the std of Rust depending on the chosen feature.
|
||||
|
@ -1,3 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
//! This section deals with the memory manipulation functions. These should
|
||||
//! be in the string module inside the rust module to more closely match
|
||||
//! the 'C' library, but the no library feature needs them as well.
|
||||
|
@ -0,0 +1,3 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Sealed with Magistamp.
|
||||
|
||||
|
Reference in New Issue
Block a user