Browse Source

Rename AmlNamespace to AmlContext

Isaac Woods 5 years ago
parent
commit
064127f40f
1 changed files with 4 additions and 4 deletions
  1. 4 4
      aml_parser/src/lib.rs

+ 4 - 4
aml_parser/src/lib.rs

@@ -35,13 +35,13 @@ pub enum AmlError {
     InvalidFieldFlags,
 }
 
-pub struct AmlNamespace {
+pub struct AmlContext {
     namespace: BTreeMap<String, AmlValue>,
 }
 
-impl AmlNamespace {
-    pub fn new() -> AmlNamespace {
-        AmlNamespace { namespace: BTreeMap::new() }
+impl AmlContext {
+    pub fn new() -> AmlContext {
+        AmlContext { namespace: BTreeMap::new() }
     }
 
     pub fn parse_table(&mut self, stream: &[u8]) -> Result<(), AmlError> {