Skip to main content

declare_interned_string

Macro declare_interned_string 

Source
macro_rules! declare_interned_string {
    ($var_name:ident, $str_lit:literal) => { ... };
}
Expand description

Statically declares a new InternedString and allocates it inside the special __fxt_interned_string_table linker section.

ยงExample

declare_interned_string!(MY_STRING, "hello.world");