From 76f11a4c10a2dc448d433971a76430ffc5c9f714 Mon Sep 17 00:00:00 2001 From: lurchi Date: Mon, 5 Sep 2016 15:35:57 +0200 Subject: [PATCH] remove the unneeded parser structs --- rust/src/parser_types.rs | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/rust/src/parser_types.rs b/rust/src/parser_types.rs index 32814d5..aa4dc12 100644 --- a/rust/src/parser_types.rs +++ b/rust/src/parser_types.rs @@ -35,39 +35,6 @@ pub struct PsycParseListState { elemlen_found: u8 } -#[repr(C)] -pub struct PsycParseDictState { - pub buffer: PsycString, - pub cursor: usize, - startc: usize, - elemlen: usize, - elem_parsed: usize, - part: PsycDictPart, - elemlen_found: u8 -} - -#[repr(C)] -pub struct PsycParseIndexState { - buffer: PsycString, - pub cursor: usize, - startc: usize, - elemlen: usize, - elem_parsed: usize, - part: PsycIndexPart, - elemlen_found: u8 -} - -#[repr(C)] -pub struct PsycParseUpdateState { - buffer: PsycString, - pub cursor: usize, - startc: usize, - elemlen: usize, - elem_parsed: usize, - part: PsycUpdatePart, - elemlen_found: u8 -} - #[repr(C)] pub enum PsycParseFlag { /// Default Flag. Parse everything.