Update C headers to be C++

This commit is contained in:
2024-04-07 10:46:35 -05:00
parent 6702e60864
commit 3ef946ad4b
58 changed files with 153 additions and 225 deletions

View File

@@ -32,7 +32,7 @@ const UNIX_LINEFEED: &'static str = "\n";
const WINDOWS_LINEFEED: &'static str = "\r\n";
const C_DECLARATIONS: FileDeclarations = FileDeclarations{include: "", var_type: "char"};
const CPP_DECLARATIONS: FileDeclarations = FileDeclarations{include: "#include <stdint.h>", var_type: "uint8_t"};
const CPP_DECLARATIONS: FileDeclarations = FileDeclarations{include: "#include <stdint.hpp>", var_type: "uint8_t"};
fn output_bytes(input: Input, output: &mut Output, line_feed: &str) -> Result<usize, std::io::Error> {
let mut byte_line_count = 0;