Added Licensing.

This added the new License and stamped all the files with it.
This commit is contained in:
2025-07-29 12:59:33 -04:00
parent 0b2f82c440
commit 96b58aed43
12 changed files with 269 additions and 5 deletions

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
/// Create a C exportable enum. These are useful for working with C FFIs.
///
/// As C has no idea about tuples or structs enums

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
/// Creates a Flag type that is also very useful for working with C FFIs.
#[macro_export]
macro_rules! c_flags

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
/// A C Pointer to an undefined structure.
///
/// A lot of C libraries return a pointer to an undefined structure.

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
/// Defines a C style structure.
#[macro_export]
macro_rules! c_struct

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
//! This defines the primitive types that may be seen
//! when creating 'C' bindings.
//!

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
//! The Binding library is a place where common macros and functions
//! that are used when interfacing with C libraries can be stored
//! for use amoungst all of CyberMages LLC's projects.

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
#[macro_export]
macro_rules! c_library
{

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Sealed with Magistamp.
//! These types are here to be used in bindings only. Other conversion
//! traits, either from the spellbook or standard library are to be used
//! at all other times. These were determined to be used at the binding