Added information about the libraries license.

This commit is contained in:
2025-07-29 23:54:15 -04:00
parent 9f9d02155a
commit 98f4922342
15 changed files with 232 additions and 7 deletions

View File

@ -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.

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
//use weave::Error;
use binding::CInt;

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
use binding::{CFloat, CDouble, CInt};

View File

@ -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;

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
use binding::{CChar, CInt};

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
use binding::CVoid;

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
use binding::{CChar, CInt};
use crate::stddef::{size_t, wchar_t};

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
use binding::{CInt, CLong};

View File

@ -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.

View File

@ -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.

View File

@ -0,0 +1,3 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.