summaryrefslogtreecommitdiff
path: root/systems/sheet/src
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-08 22:43:34 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-08 22:43:34 +0800
commit90ed18a41fef137ed0637cf9fc6aa667de2c905f (patch)
treed0e472f860ce0c771f4ae47ed35be36aa2df76b7 /systems/sheet/src
parent62fd90b639a0e24570c558738205d752d2d957bb (diff)
Update dependencies and add C bindings generation
Diffstat (limited to 'systems/sheet/src')
-rw-r--r--systems/sheet/src/sheet/reader.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/systems/sheet/src/sheet/reader.rs b/systems/sheet/src/sheet/reader.rs
index 583e3b7..7a41bc1 100644
--- a/systems/sheet/src/sheet/reader.rs
+++ b/systems/sheet/src/sheet/reader.rs
@@ -1,5 +1,3 @@
-use constants::CURRENT_SHEET_VERSION;
-
use crate::{
mapping::{LocalMappingForward, Mapping},
sheet::{SheetData, error::ReadSheetDataError},
@@ -12,9 +10,9 @@ macro_rules! reader_do {
let sheet_version = $full_sheet_data
.first()
.copied()
- .unwrap_or(CURRENT_SHEET_VERSION);
+ .unwrap_or(crate::sheet::v1::constants::CURRENT_SHEET_VERSION); // CURRENT
match sheet_version {
- 1 => crate::sheet::v1::reader::$func($($arg),*),
+ 1 => crate::sheet::v1::reader::$func($($arg),*), // CURRENT
_ => reader::$func($($arg),*),
}
}};