diff options
Diffstat (limited to '')
| -rw-r--r-- | src/constants.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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; |