Start stdin

This commit is contained in:
2026-03-13 11:15:52 +01:00
parent f67718c3fe
commit de6ef959ce
18 changed files with 347 additions and 72 deletions

View File

@@ -12,3 +12,4 @@ regex = "1"
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full"] }
zyn = "0.5"

View File

@@ -96,7 +96,7 @@ pub fn parse_image(
Ok((width, height, name_ident, byte_count, byte_tokens))
}
pub fn include_font_plate_impl(input: TokenStream) -> TokenStream {
pub fn include_bitmap_image_impl(input: TokenStream) -> TokenStream {
let (_, _, _, _, byte_tokens) = parse_image(input).unwrap();
let output = quote! {

View File

@@ -3,6 +3,6 @@ mod image;
use proc_macro::TokenStream;
#[proc_macro]
pub fn include_font_plate(input: TokenStream) -> TokenStream {
image::include_font_plate_impl(input)
pub fn include_bitmap_image(input: TokenStream) -> TokenStream {
image::include_bitmap_image_impl(input)
}