From f752160c6ebcee747a61e6febc4789d0b04ccd12 Mon Sep 17 00:00:00 2001 From: Sophie Forrest Date: Fri, 30 Aug 2024 23:35:45 +1200 Subject: feat: implement generic engine for executor --- src/constants.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/constants.rs') diff --git a/src/constants.rs b/src/constants.rs index 6651b22..6ca1bc5 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -1,4 +1,9 @@ //! Constants and types used throughout the Brainfuck interpreter. /// The inner type used by a Brainfuck tape. +#[cfg(feature = "u8-engine")] pub type TapeInner = u8; + +/// The inner type used by a Brainfuck tape. +#[cfg(feature = "u16-engine")] +pub type TapeInner = u16; -- cgit 1.4.1