From 7350e18b8d5090349390f54b76a0e251b66ce619 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 6 Jun 2013 13:01:04 -0700 Subject: gras: moved block ptr into data --- lib/gras_impl/block_data.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/gras_impl/block_data.hpp') diff --git a/lib/gras_impl/block_data.hpp b/lib/gras_impl/block_data.hpp index 9fbf3eb..4b6e8de 100644 --- a/lib/gras_impl/block_data.hpp +++ b/lib/gras_impl/block_data.hpp @@ -3,6 +3,7 @@ #ifndef INCLUDED_LIBGRAS_IMPL_BLOCK_DATA_HPP #define INCLUDED_LIBGRAS_IMPL_BLOCK_DATA_HPP +#include <gras/block.hpp> #include <gras_impl/debug.hpp> #include <gras_impl/bitset.hpp> #include <gras_impl/token.hpp> @@ -33,6 +34,9 @@ enum BlockState struct BlockData { + //block pointer to call into parent + Block *block; + //per port properties std::vector<InputPortConfig> input_configs; std::vector<OutputPortConfig> output_configs; -- cgit