added a new macro progmem!() at the inside you can add new progmem data.
This commit is contained in:
parent
d9cb232cef
commit
28cbec07f8
8 changed files with 427 additions and 337 deletions
|
@ -1,16 +1,5 @@
|
|||
use crate::prelude::Pstring;
|
||||
use core::ffi::c_int;
|
||||
///Create a `const` raw pointer to a \[u8;_] that saves text, without creating an intermediate reference.
|
||||
#[macro_export]
|
||||
macro_rules! get_string_addr {
|
||||
( $s:expr ) => {
|
||||
Pstring {
|
||||
pointer: addr_of!($s) as *const i8,
|
||||
}
|
||||
};
|
||||
}
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use get_string_addr;
|
||||
|
||||
#[derive(Debug, Copy, Clone, Hash, Eq, PartialEq, Ord, PartialOrd)]
|
||||
pub enum Base {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue