mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
cow string table name
This commit is contained in:
parent
9f0acad361
commit
28ad5fafde
2 changed files with 3 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ pub struct FixedUserDataSize {
|
|||
|
||||
#[derive(Debug)]
|
||||
pub struct StringTable<'a> {
|
||||
pub name: String,
|
||||
pub name: Cow<'a, str>,
|
||||
pub entries: Vec<(u16, StringTableEntry<'a>)>,
|
||||
pub max_entries: u16,
|
||||
pub fixed_user_data_size: Option<FixedUserDataSize>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue