pub(super) fn generate_defines() -> String {
    let mut defines = String::new();

    for define in DEFINE_REGISTRY.lock().unwrap().get_active_defines() {
        define.generate();
        defines.push_str(&format!("{}\n", define.to_file_line()))
    }

    let mut out = FILE_HEADER.to_owned();
    out.push_str(&defines);
    out
}
/// generates the `hive_defines.S` file contents and returns its binary representation
generates the `hive_defines.S` file contents and returns its binary representation
generates the ` hive_defines . S ` file contents and returns its binary representation
pub(super) fn generate_defines() -> String {
    let mut defines = String::new();
    for define in DEFINE_REGISTRY.lock().unwrap().get_active_defines() {
        define.generate();
        defines.push_str(&format!("{}\n", define.to_file_line()))
    }
    let mut out = FILE_HEADER.to_owned();
    out.push_str(&defines);
    out
}
pub ( super ) fn generate_defines ( ) -> String { let mut defines = String :: new ( ) ; for define in DEFINE_REGISTRY . lock ( ) . unwrap ( ) . get_active_defines ( ) { define . generate ( ) ; defines . push_str ( & format ! ( " \n " define to_file_line ( ) ) ) } let mut out = FILE_HEADER . to_owned ( ) ; out . push_str ( & defines ) ; out }
generates the `hive_defines.S` file contents and returns its binary representation
generates the ` hive_defines . S ` file contents and returns its binary representation